Delete invalid settings without reporting
This commit is contained in:
parent
eb2d50fad3
commit
3f93869478
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ class SettingsCog(Cog):
|
|||
value = await ctx.guild.fetch_role(value)
|
||||
except KeyError:
|
||||
await setting.delete()
|
||||
value = None
|
||||
continue
|
||||
if value:
|
||||
value = value.mention
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue