Skip to content

Commit

Permalink
add /about command
Browse files Browse the repository at this point in the history
  • Loading branch information
nonchris committed Apr 26, 2023
1 parent d9b52eb commit 18dfc8a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/discord_bot/cogs/replacement_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,21 @@ async def sarcastic_case_command(self,

await interaction.response.send_message(replacement_text, ephemeral=mode == "silent")

@app_commands.command(name="about", description="About that bots mission")
# @app_commands.guild_only
async def about_the_bot(self,
interaction: discord.Interaction,
mode: Optional[Literal["silent", "loud"]]):
"""
Whats the mission of this bot?
"""

await interaction.response.send_message(
"Please visit our github for more information and possible contributions.\n"
"https://github.com/nonchris/IOEAEEAE__d_SC_RD-r_PL_C_M_NT-c_S_\n"
"AEaEAA\_\_h_V\_\_gR\_\_Td\_Y!",
ephemeral=mode == "silent")


async def replacement_case_context(self, interaction: discord.Interaction, message: discord.Message):
"""
Expand Down

0 comments on commit 18dfc8a

Please sign in to comment.