Skip to content

Commit

Permalink
✨ Fix issue with command restriction message not being sent when not …
Browse files Browse the repository at this point in the history
…in main guild.
  • Loading branch information
alexraskin committed May 22, 2024
1 parent 56a77a7 commit 5bcb93a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bot/cogs/lhguess.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,9 @@ async def lhlatest(self, ctx: commands.Context):
"""
Get the 5 latest guesses.
"""
# if ctx.guild.id != self.client.config.main_guild:
# await ctx.send("This command can only be used in Cloudy's Discord.")
# return
if ctx.guild.id != self.client.config.main_guild:
await ctx.send("This command can only be used in Cloudy's Discord.")
return
embed = Embed(title="Latest LhGuesses", color=self.success_color)
guess_list = await self.load_collection_list()
for guess in guess_list[-5:]:
Expand Down

0 comments on commit 5bcb93a

Please sign in to comment.