Making sure error function stays in enso.py

pull/8/head
sgoudham 4 years ago
parent ede7802369
commit 32d1f4783c

@ -8,8 +8,12 @@ from discord.ext import commands
from discord.ext.commands import cooldown, BucketType, command from discord.ext.commands import cooldown, BucketType, command
import settings import settings
from cogs.anime.interactive import error_function from settings import colour_list, enso_guild_ID, enso_ensochancommands_Mention
from settings import colour_list, enso_guild_ID
# Error handling function to make sure that the commands only work in "enso-chan-commands"
def error_function():
return f"**Sorry! I only work in {enso_ensochancommands_Mention}**"
# Gets the member and user avatar # Gets the member and user avatar

Loading…
Cancel
Save