Update mod.py (#3683)

This commit is contained in:
jack1142 2020-03-28 01:05:25 +01:00 committed by GitHub
parent 4de4c32c0e
commit d70c6e1734
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,7 @@ class Mod(
"Please use `[p]moveignoredchannels` if " "Please use `[p]moveignoredchannels` if "
"you were previously using these functions." "you were previously using these functions."
) )
self.bot.loop.create_task(self.bot.send_to_owners_with_prefix_replaced(msg)) self.bot.loop.create_task(send_to_owners_with_prefix_replaced(self.bot, msg))
await self.settings.version.set("1.1.0") await self.settings.version.set("1.1.0")
if await self.settings.version() < "1.2.0": if await self.settings.version() < "1.2.0":
msg = _( msg = _(
@ -117,7 +117,7 @@ class Mod(
"Please use `[p]movedeletedelay` if " "Please use `[p]movedeletedelay` if "
"you were previously using these functions." "you were previously using these functions."
) )
self.bot.loop.create_task(self.bot.send_to_owners_with_prefix_replaced(msg)) self.bot.loop.create_task(send_to_owners_with_prefix_replaced(self.bot, msg))
await self.settings.version.set("1.2.0") await self.settings.version.set("1.2.0")
@commands.command() @commands.command()