aboutsummaryrefslogtreecommitdiff
path: root/cogs
diff options
context:
space:
mode:
author0ceanlight <imahacubak@gmail.com>2020-06-08 18:42:10 +0000
committer0ceanlight <imahacubak@gmail.com>2020-06-08 18:42:10 +0000
commitc8ed74e1b9ffc3070c76fe7f84350df390fc4a50 (patch)
tree83522ba14dcee1cfe6392386ebe0aca760e860b8 /cogs
parent18a3530647e4dc74aafda753997b24f4f537f470 (diff)
downloadsteve-bot-c8ed74e1b9ffc3070c76fe7f84350df390fc4a50.tar
steve-bot-c8ed74e1b9ffc3070c76fe7f84350df390fc4a50.tar.gz
steve-bot-c8ed74e1b9ffc3070c76fe7f84350df390fc4a50.tar.bz2
steve-bot-c8ed74e1b9ffc3070c76fe7f84350df390fc4a50.tar.lz
steve-bot-c8ed74e1b9ffc3070c76fe7f84350df390fc4a50.tar.xz
steve-bot-c8ed74e1b9ffc3070c76fe7f84350df390fc4a50.tar.zst
steve-bot-c8ed74e1b9ffc3070c76fe7f84350df390fc4a50.zip
restricted findsleep to #bot-commands
Diffstat (limited to 'cogs')
-rwxr-xr-xcogs/utils.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/cogs/utils.py b/cogs/utils.py
index 70c4b50..27fd708 100755
--- a/cogs/utils.py
+++ b/cogs/utils.py
@@ -65,7 +65,7 @@ class Utils(commands.Cog):
totalEyes = 0
for i in range(12):
randomness = randint(1, 10)
- if randomness <= 2:
+ if randomness <= 1:
totalEyes += 1
await ctx.send(f"{ctx.message.author.display_name} -> your seed is a {totalEyes} eye")
@@ -82,6 +82,9 @@ class Utils(commands.Cog):
@commands.command()
async def findsleep(self, ctx):
+ if ctx.message.channel.id != 684787316489060422:
+ await ctx.message.delete()
+ return
# DON'T ASK!
lessSleepMsg = [