mirror of
https://github.com/Matthww/TuneBot.git
synced 2026-09-22 00:17:50 +00:00
Gotta remove shit to be compliant yaknow
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from discord.ext import commands
|
||||
|
||||
from bot import TuneBot
|
||||
from cogs.settings.interactions import SettingCommands
|
||||
#from cogs.settings.interactions import SettingCommands
|
||||
from cogs.settings.interactions import SourceCommands
|
||||
from context import CustomContext
|
||||
from utils.classes import BaseCog
|
||||
@@ -13,5 +13,5 @@ class SettingsCog(BaseCog, name="Settings"):
|
||||
|
||||
async def setup(bot: TuneBot):
|
||||
await bot.add_cog(SettingsCog(bot))
|
||||
bot.tree.add_command(SettingCommands(bot), override=True)
|
||||
#bot.tree.add_command(SettingCommands(bot), override=True)
|
||||
bot.tree.add_command(SourceCommands(bot), override=True)
|
||||
|
||||
@@ -105,7 +105,7 @@ class SourceCommands(app_commands.Group):
|
||||
|
||||
await ctx.response.send_message(embed=embed)
|
||||
|
||||
|
||||
"""
|
||||
class SettingCommands(app_commands.Group):
|
||||
def __init__(self, bot: "TuneBot"):
|
||||
super().__init__(name="settings", description="Tweak and customize")
|
||||
@@ -144,3 +144,4 @@ class SettingCommands(app_commands.Group):
|
||||
await autojoin.disable()
|
||||
embed.title = "AutoJoin disabled"
|
||||
await ctx.response.send_message(embed=embed)
|
||||
"""
|
||||
Reference in New Issue
Block a user