Making sure that only people in Enso can use the Enso command

pull/8/head
sgoudham 4 years ago
parent 14843b567a
commit 8a34a6ad8b

@ -48,6 +48,7 @@ class Enso(commands.Cog):
async def enso_person(self, ctx, name=None):
if not ctx.guild.id == settings.enso_guild_ID:
await ctx.send("**Sorry! That command is only for a certain guild!**")
return
# Defining array of all the people that have images stored in the bot

Loading…
Cancel
Save