mirror of
https://github.com/Matthww/TuneBot.git
synced 2026-09-22 00:17:50 +00:00
Partial migration to dpy, music cog
This commit is contained in:
+2
-3
@@ -53,7 +53,6 @@ class SettingsCog(BaseCog, name="Settings"):
|
||||
name="source",
|
||||
aliases=["src"],
|
||||
invoke_without_command=True,
|
||||
slash_command=False,
|
||||
hidden=True,
|
||||
)
|
||||
async def source(self, ctx: CustomContext):
|
||||
@@ -160,5 +159,5 @@ class SettingsCog(BaseCog, name="Settings"):
|
||||
await ctx.send(embed=embed)
|
||||
|
||||
|
||||
def setup(bot: TuneBot):
|
||||
bot.add_cog(SettingsCog(bot))
|
||||
async def setup(bot: TuneBot):
|
||||
await bot.add_cog(SettingsCog(bot))
|
||||
|
||||
Reference in New Issue
Block a user