diff --git a/README.md b/README.md index 5acf57c..089e8d3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # iitm-server-bot -This project is a Server Discord bot that handles interactions, messages, reactions, and email sending. It is built using Python and the Discord.py library. +This project is a Server Discord bot that handles interactions, messages, reactions and Slash commands. It is built using Python and the Discord.py library. ## Getting Started @@ -20,7 +20,8 @@ The project is structured as follows: ├── cogs │ ├── Interaction.py │ ├── Message.py -│ └── Reaction.py +│ ├── Reaction.py +| └── Slash.py ├── config.ini ├── email_template.txt ├── main.py diff --git a/cogs/Slash.py b/cogs/Slash.py index 49735f9..cab05ea 100644 --- a/cogs/Slash.py +++ b/cogs/Slash.py @@ -15,6 +15,9 @@ def __init__(self, client): @app_commands.command(name='help', description='Displays list of commands and their usage') @app_commands.describe(command="Input Command Name") async def help(self, interaction: discord.Interaction, command: str=None): + """ + Displays list of commands and their usage + """ if command=='help': output=discord.Embed(title="Help",description="Displays list of commands and their usage",color=0x00ff00) elif not command: