Fix clear
This commit is contained in:
parent
5280f33e28
commit
4b09f99e94
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ class SettingsCog(Extension):
|
|||
timeout=60 * 5,
|
||||
)
|
||||
if context.ctx.custom_id == f"{ctx.guild.id}|set_clear|yes":
|
||||
async for setting in Setting.find(Setting.guild == ctx.guild.id):
|
||||
async for setting in Setting.find(Setting.guild == str(ctx.guild.id)):
|
||||
await setting.delete()
|
||||
content = "Guild settings cleared"
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue