diff options
author | AnInternetTroll <lucafulger@gmail.com> | 2020-06-14 10:09:39 +0000 |
---|---|---|
committer | AnInternetTroll <lucafulger@gmail.com> | 2020-06-14 10:09:39 +0000 |
commit | c87ade2e08b0117bd5a0db5611ce47287fbfb6de (patch) | |
tree | 6c541d011ed271ed8293dee2f7967b9af8644e83 /cogs/src.py | |
parent | b889beaa39fb60adb81c422fc9ccc30b3ebd8293 (diff) | |
download | steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.tar steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.tar.gz steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.tar.bz2 steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.tar.lz steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.tar.xz steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.tar.zst steve-bot-c87ade2e08b0117bd5a0db5611ce47287fbfb6de.zip |
Better logging
Diffstat (limited to 'cogs/src.py')
-rw-r--r-- | cogs/src.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cogs/src.py b/cogs/src.py index 96bf53c..f0619d4 100644 --- a/cogs/src.py +++ b/cogs/src.py @@ -208,7 +208,7 @@ class Src(commands.Cog): @commands.guild_only() async def pending(self, ctx): async with ctx.typing(): - await clear(self) + await self.bot.get_channel(699713639866957905).purge() await pendingRuns(self, ctx) @commands.command(description="Reject runs quickly") @@ -231,6 +231,7 @@ class Src(commands.Cog): @commands.command() async def verify(self, ctx, apiKey=None, userID=None): + self.bot.messageBlacklist.append(ctx.message.id) #if apiKey == None: # await ctx.send(f"Please try again this command by getting an apiKey from https://www.speedrun.com/api/auth then do `{ctx.prefix}verify <apiKey>` in my DMs or anywhere in this server. \nBe careful who you share this key with. To learn more check out https://github.com/speedruncomorg/api/blob/master/authentication.md") # return |