diff --git a/aurora/configuration/menus/overrides.py b/aurora/configuration/menus/overrides.py index 810db4c..aa39d2c 100644 --- a/aurora/configuration/menus/overrides.py +++ b/aurora/configuration/menus/overrides.py @@ -22,7 +22,7 @@ class Overrides(ui.View): if select.values[0] == 'None': await config.user(self.ctx.author).auto_evidenceformat.clear() else: - await config.user(self.ctx.author).auto_evidenceformat.set(bool(select.values[0])) + await config.user(self.ctx.author).auto_evidenceformat.set(bool(int(select.values[0]))) await interaction.message.edit(embed=await embed(self.ctx)) @ui.select(cls=ui.Select, placeholder="Epheremal", row=1, options=[ @@ -38,7 +38,7 @@ class Overrides(ui.View): if select.values[0] == 'None': await config.user(self.ctx.author).history_ephemeral.clear() else: - await config.user(self.ctx.author).history_ephemeral.set(bool(select.values[0])) + await config.user(self.ctx.author).history_ephemeral.set(bool(int(select.values[0]))) await interaction.message.edit(embed=await embed(self.ctx)) @ui.select(cls=ui.Select, placeholder="Inline", row=2, options=[ @@ -54,5 +54,5 @@ class Overrides(ui.View): if select.values[0] == 'None': await config.user(self.ctx.author).history_inline.clear() else: - await config.user(self.ctx.author).history_inline.set(bool(select.values[0])) + await config.user(self.ctx.author).history_inline.set(bool(int(select.values[0]))) await interaction.message.edit(embed=await embed(self.ctx))