From bd38cd4f12605a5166607841410c33a3a4edab73 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Mon, 20 Jul 2020 09:55:52 +0100 Subject: [PATCH] Making sure that only people in Enso can use the Enso command --- cogs/fun/enso.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/fun/enso.py b/cogs/fun/enso.py index ca1969b5..97bc060d 100644 --- a/cogs/fun/enso.py +++ b/cogs/fun/enso.py @@ -9,7 +9,7 @@ from discord.ext.commands import cooldown, BucketType, command import settings from cogs.anime.interactive import error_function -from settings import colour_list +from settings import colour_list, enso_guild_ID # Gets the member and user avatar @@ -47,7 +47,7 @@ class Enso(commands.Cog): @cooldown(1, 1, BucketType.user) async def enso_person(self, ctx, name=None): - if not ctx.guild.id == settings.enso_guild_ID: + if not ctx.guild.id == enso_guild_ID: await ctx.send("**Sorry! That command is only for a certain guild!**") return