diff options
author | AnInternetTroll <lucafulger@gmail.com> | 2020-05-24 08:48:51 +0000 |
---|---|---|
committer | AnInternetTroll <lucafulger@gmail.com> | 2020-05-24 08:48:51 +0000 |
commit | 60aa25d28f591233723f64d3ad2a09b13dbaf21f (patch) | |
tree | f840ffb8c9442e47150d4a35d4bdc01871679b7a /cogs/utils.py | |
parent | 683fdd8a871e96b9387b33d22384a3212c8ba091 (diff) | |
download | steve-bot-60aa25d28f591233723f64d3ad2a09b13dbaf21f.tar steve-bot-60aa25d28f591233723f64d3ad2a09b13dbaf21f.tar.gz steve-bot-60aa25d28f591233723f64d3ad2a09b13dbaf21f.tar.bz2 steve-bot-60aa25d28f591233723f64d3ad2a09b13dbaf21f.tar.lz steve-bot-60aa25d28f591233723f64d3ad2a09b13dbaf21f.tar.xz steve-bot-60aa25d28f591233723f64d3ad2a09b13dbaf21f.tar.zst steve-bot-60aa25d28f591233723f64d3ad2a09b13dbaf21f.zip |
modified: cogs/src.py
modified: cogs/utils.py
modified: custom_commands.json
Diffstat (limited to 'cogs/utils.py')
-rwxr-xr-x | cogs/utils.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cogs/utils.py b/cogs/utils.py index 19d16b0..143b70a 100755 --- a/cogs/utils.py +++ b/cogs/utils.py @@ -48,6 +48,9 @@ class Utils(commands.Cog): @commands.cooldown(1, 25, commands.BucketType.guild) @commands.command() async def findseed(self, ctx): + if ctx.message.channel.id != 684787316489060422: + ctx.message.delete() + return totalEyes = 0 for i in range(12): randomness = random.randint(1,10) @@ -60,6 +63,8 @@ class Utils(commands.Cog): @findseed.error async def findseed_handler(self,ctx,error): if isinstance(error, commands.CommandOnCooldown): + if ctx.message.channel.id != 684787316489060422: + ctx.message.delete() return #await ctx.send(f"{ctx.message.author.display_name}, you have to wait {round(error.retry_after, 7)} seconds before using this again.") |