turdbot/cogs/settings.py

20 lines
432 B
Python
Raw Normal View History

2024-03-13 12:56:53 -06:00
from discord.ext import bridge, commands
2024-06-12 19:21:51 -06:00
from bin.storage import storage
2024-03-13 12:56:53 -06:00
class Settings(commands.Cog):
def __init__(self, bot):
self.bot = bot
@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")
2024-06-22 19:32:58 -06:00
@settings.command()
2024-03-13 12:56:53 -06:00
def setup(bot):
bot.add_cog(Settings(bot))