This commit is contained in:
John Doe 2024-10-02 15:18:33 -06:00
parent 0b7250bc80
commit ac7ff93e78
2 changed files with 1 additions and 6 deletions

View File

@ -21,7 +21,7 @@ class storage:
if key is None: if key is None:
return modules.get(module) return modules.get(module)
if value is not None: else:
modules[module][key] = value modules[module][key] = value
await self.collection.update_one( await self.collection.update_one(
{"server_id": self.server_id}, {"server_id": self.server_id},

View File

@ -8,11 +8,6 @@ class Settings(commands.Cog):
@bridge.bridge_group(aliases=["set", "s"], invoke_without_command=True) @bridge.bridge_group(aliases=["set", "s"], invoke_without_command=True)
async def settings(self, ctx): async def settings(self, ctx):
await ctx.respond("invalid command, see !help settings for more info") await ctx.respond("invalid command, see !help settings for more info")
@settings.command()
def setup(bot): def setup(bot):
bot.add_cog(Settings(bot)) bot.add_cog(Settings(bot))