Th3J0nny / discord-all-in-bot

A simple and modular Discord bot with various random functionalities.
GNU General Public License v3.0
3 stars 1 forks source link

Improve help command #3

Open Th3J0nny opened 2 years ago

Th3J0nny commented 2 years ago

For each feature/command, add an explanation.

See: https://discordpy.readthedocs.io/en/stable/ext/commands/api.html?highlight=help#help-commands

Sajid2001 commented 2 years ago

I am a little confused on how to do this.

Th3J0nny commented 2 years ago

What exactly are you confused about?

Sajid2001 commented 2 years ago

Where do I add the explanation and how do I add it? And what is the discord.py documentation link for?

Th3J0nny commented 2 years ago

Either, we can add a description in the @commands.command annotation of each command like here Or, we can implement the library discord-pretty-help

EDIT: For the pretty-help library, we'd need to upgrade the permissions of the bot to include manage-messages.

Sajid2001 commented 2 years ago

I think I like the first method better. So all we need to do is just add that description to the commands, right? That should not be too difficult for anyone. I also did try to make a language translator feature in the bot. I have used discordJS a little bit in the past, but I am still new to discord.py, so the feature may not work very well. Is it possible for me to have permission to push the code onto this repository?

Th3J0nny commented 2 years ago

I agree, the first method would is more feasible for now. You should be able to open up a pull request for your branch and push your code. I can then review the code. If not, I'll have to edit the repository permissions. This is my first public repo as well :D