Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions commands/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async def check_bot_permission_example(interaction: Interaction):
await send_message(
interaction,
f"Bot has the Permission: `{PermissionEnum.ADMINISTRATOR}`",
True,
ephemeral=True,
)

@bot.tree.command(
Expand All @@ -34,7 +34,7 @@ async def check_bot_permission_multiple_example(interaction: Interaction):
await send_message(
interaction,
f"Bot has the Permissions: `{PermissionEnum.KICK_MEMBERS}`, `{PermissionEnum.BAN_MEMBERS}`",
True,
ephemeral=True,
)

@bot.tree.command(
Expand All @@ -46,7 +46,7 @@ async def check_permission_example(interaction: Interaction):
await send_message(
interaction,
f"You have the Permission: `{PermissionEnum.ADMINISTRATOR}`",
True,
ephemeral=True,
)

@bot.tree.command(
Expand All @@ -58,7 +58,7 @@ async def check_permission_multiple_example(interaction: Interaction):
await send_message(
interaction,
f"You have the Permissions: `{PermissionEnum.KICK_MEMBERS}`, `{PermissionEnum.BAN_MEMBERS}`",
True,
ephemeral=True,
)

@bot.tree.command(
Expand Down
2 changes: 1 addition & 1 deletion commands/ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ class PingCommand(BaseCommand):
async def register(self, bot: ModuBotDiscord):
@bot.tree.command(name="ping", description="Responds with Pong!")
async def ping(interaction: Interaction):
await send_message(interaction, "Pong!", True)
await send_message(interaction, "Pong!", ephemeral=True)
Binary file modified requirements.txt
Binary file not shown.
Loading