fixes
This commit is contained in:
parent
0b7250bc80
commit
ac7ff93e78
@ -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},
|
||||||
|
|||||||
@ -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))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user