diff --git a/bin/storage.py b/bin/storage.py index 6237bac..e795c2e 100644 --- a/bin/storage.py +++ b/bin/storage.py @@ -21,7 +21,7 @@ class storage: if key is None: return modules.get(module) - if value is not None: + else: modules[module][key] = value await self.collection.update_one( {"server_id": self.server_id}, diff --git a/cogs/settings.py b/cogs/settings.py index 4d09264..6395c1a 100644 --- a/cogs/settings.py +++ b/cogs/settings.py @@ -8,11 +8,6 @@ class Settings(commands.Cog): @bridge.bridge_group(aliases=["set", "s"], invoke_without_command=True) async def settings(self, ctx): await ctx.respond("invalid command, see !help settings for more info") - - @settings.command() - - - def setup(bot): bot.add_cog(Settings(bot))