Adding commentary

pull/8/head
sgoudham 4 years ago
parent 500bfdf4f2
commit 47ff34add5

@ -12,11 +12,11 @@ class eightball(commands.Cog):
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot
# ~8Ball command
@command(name="8ball", aliases=['8Ball']) @command(name="8ball", aliases=['8Ball'])
# Added a cooldown, only 1 instance of the command can be sent every second per user
@cooldown(1, 1, BucketType.user) @cooldown(1, 1, BucketType.user)
async def _8ball(self, ctx, *, question): async def _8ball(self, ctx, *, question):
"""Allows for the user to get a custom response to a question"""
# Setting up the channels that the commands can be sent in enso-chan-commands and general # Setting up the channels that the commands can be sent in enso-chan-commands and general
channels = ["enso-chan-commands", "picto-chat"] channels = ["enso-chan-commands", "picto-chat"]

Loading…
Cancel
Save