fix(PYL-W1113):

This commit is contained in:
Romain J 2020-10-20 23:52:05 +02:00
parent 42e2d04a9e
commit 533ca6e3e7

View file

@ -12,7 +12,7 @@ TOKEN_REPLACEMENT = "whoops, leaked token"
class ContextPlus(commands.Context): class ContextPlus(commands.Context):
async def send(self, content=None, *args, **kwargs): async def send(self, *args, content=None, **kwargs):
if content is not None: if content is not None:
content = content.replace( content = content.replace(
self.bot.config.Core.token, TOKEN_REPLACEMENT self.bot.config.Core.token, TOKEN_REPLACEMENT