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

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

@ -47,6 +47,9 @@ class Enso(commands.Cog):
@cooldown(1, 1, BucketType.user) @cooldown(1, 1, BucketType.user)
async def enso_person(self, ctx, name=None): async def enso_person(self, ctx, name=None):
if not ctx.guild.id == settings.enso_guild_ID:
return
# Defining array of all the people that have images stored in the bot # Defining array of all the people that have images stored in the bot
array = ['hammy', 'hussein', 'inna', 'kate', 'calvin', array = ['hammy', 'hussein', 'inna', 'kate', 'calvin',
'lukas', 'stitch', 'corona', 'ging', 'ash', 'lukas', 'stitch', 'corona', 'ging', 'ash',

Loading…
Cancel
Save