Skip to content

Commit 7df3501

Browse files
committed
Fixed edge case causing errors with .board command
1 parent 54cf0e4 commit 7df3501

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cogs/assistancehardware.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ async def board(self, ctx: KurisuContext, console: str = ""):
240240
embed.description = f'{ctx.author.mention}, Board options are `' + ', '.join(boards) + "`"
241241
embed.color = discord.Color.red()
242242
await ctx.send(embed=embed, delete_after=10)
243+
return
243244
else:
244245
embed.description = f'{ctx.author.mention}, Board options are `' + ', '.join(boards) + "`"
245246
embed.color = discord.Color.red()

0 commit comments

Comments
 (0)