Fix saving settings
This commit is contained in:
parent
ee86320c16
commit
27b286dab5
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class SettingsCog(Scale):
|
|||
if not existing:
|
||||
existing = Setting(setting=setting, guild=guild, value=value)
|
||||
existing.value = value
|
||||
updated = existing.save()
|
||||
updated = await existing.commit()
|
||||
|
||||
return updated is not None
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue