Upload 93 files
Browse files- bot/cogs/__pycache__/admin.cpython-311.pyc +2 -2
- bot/cogs/__pycache__/media.cpython-311.pyc +2 -2
- bot/cogs/admin.py +3 -3
- bot/cogs/media.py +2 -2
- database.db +1 -1
- database.db-shm +0 -0
- database.db-wal +0 -0
bot/cogs/__pycache__/admin.cpython-311.pyc
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4ac3a481b82aa0aff762d68dd8f262478a5a3f489e08f7b8425530f0fd9298e9
|
| 3 |
+
size 123269
|
bot/cogs/__pycache__/media.cpython-311.pyc
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0a9b36f61b4f52cd987d08126f68dce43ae5de6f0cf107f5fc5aeb53a5e6d74
|
| 3 |
+
size 220308
|
bot/cogs/admin.py
CHANGED
|
@@ -797,13 +797,13 @@ class Admin(commands.Cog):
|
|
| 797 |
|
| 798 |
@commands.hybrid_command(name="bot_status", description="Show current bot presence", with_app_command=True)
|
| 799 |
@commands.is_owner()
|
| 800 |
-
async def
|
| 801 |
embed = await self._presence_embed()
|
| 802 |
await self._safe_ctx_send(ctx, embed=embed, ephemeral=bool(ctx.interaction))
|
| 803 |
|
| 804 |
@commands.hybrid_command(name="set_bot_status", description="Set bot presence", with_app_command=True)
|
| 805 |
@commands.is_owner()
|
| 806 |
-
async def
|
| 807 |
self,
|
| 808 |
ctx: commands.Context,
|
| 809 |
status: str,
|
|
@@ -815,7 +815,7 @@ class Admin(commands.Cog):
|
|
| 815 |
|
| 816 |
@commands.hybrid_command(name="reset_bot_status", description="Reset bot presence to default", with_app_command=True)
|
| 817 |
@commands.is_owner()
|
| 818 |
-
async def
|
| 819 |
await self.admin_botstatus_reset(ctx)
|
| 820 |
|
| 821 |
@admin_group.group(name="shield", invoke_without_command=True)
|
|
|
|
| 797 |
|
| 798 |
@commands.hybrid_command(name="bot_status", description="Show current bot presence", with_app_command=True)
|
| 799 |
@commands.is_owner()
|
| 800 |
+
async def show_bot_status(self, ctx: commands.Context) -> None:
|
| 801 |
embed = await self._presence_embed()
|
| 802 |
await self._safe_ctx_send(ctx, embed=embed, ephemeral=bool(ctx.interaction))
|
| 803 |
|
| 804 |
@commands.hybrid_command(name="set_bot_status", description="Set bot presence", with_app_command=True)
|
| 805 |
@commands.is_owner()
|
| 806 |
+
async def update_bot_status(
|
| 807 |
self,
|
| 808 |
ctx: commands.Context,
|
| 809 |
status: str,
|
|
|
|
| 815 |
|
| 816 |
@commands.hybrid_command(name="reset_bot_status", description="Reset bot presence to default", with_app_command=True)
|
| 817 |
@commands.is_owner()
|
| 818 |
+
async def restore_bot_status(self, ctx: commands.Context) -> None:
|
| 819 |
await self.admin_botstatus_reset(ctx)
|
| 820 |
|
| 821 |
@admin_group.group(name="shield", invoke_without_command=True)
|
bot/cogs/media.py
CHANGED
|
@@ -724,8 +724,8 @@ class Media(commands.Cog):
|
|
| 724 |
|
| 725 |
async def cog_load(self) -> None:
|
| 726 |
"""Set up event listeners for wavelink."""
|
| 727 |
-
self.bot.add_view(MusicPanelView(self))
|
| 728 |
-
self.bot.add_view(AudioActionsView(self))
|
| 729 |
|
| 730 |
# Register wavelink event listeners
|
| 731 |
if wavelink is not None:
|
|
|
|
| 724 |
|
| 725 |
async def cog_load(self) -> None:
|
| 726 |
"""Set up event listeners for wavelink."""
|
| 727 |
+
self.bot.add_view(MusicPanelView(self, 0))
|
| 728 |
+
self.bot.add_view(AudioActionsView(self, 0))
|
| 729 |
|
| 730 |
# Register wavelink event listeners
|
| 731 |
if wavelink is not None:
|
database.db
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 184320
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49992ae77d77166efa0aabac54ff6ee415988ee8f8c89f6f6ba3793e6b8d8bf5
|
| 3 |
size 184320
|
database.db-shm
CHANGED
|
Binary files a/database.db-shm and b/database.db-shm differ
|
|
|
database.db-wal
CHANGED
|
Binary files a/database.db-wal and b/database.db-wal differ
|
|
|