From 533ca6e3e7e1cddd1a406b4e2b700994f830364d Mon Sep 17 00:00:00 2001 From: Romain J Date: Tue, 20 Oct 2020 23:52:05 +0200 Subject: [PATCH] fix(PYL-W1113): --- tuxbot/core/utils/functions/extra.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuxbot/core/utils/functions/extra.py b/tuxbot/core/utils/functions/extra.py index 6d5479f..6ed053e 100644 --- a/tuxbot/core/utils/functions/extra.py +++ b/tuxbot/core/utils/functions/extra.py @@ -12,7 +12,7 @@ TOKEN_REPLACEMENT = "whoops, leaked token" 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: content = content.replace( self.bot.config.Core.token, TOKEN_REPLACEMENT