MenuDocs / Pyro

A Python Discord Bot
Apache License 2.0
25 stars 6 forks source link

Format for all command decorators #1

Closed Skelmis closed 4 years ago

Skelmis commented 4 years ago

To any command in a cog file. Due to the nature of the help command each command decorator must include the following: name = (The commands name, can be same as the function defintion) Description = (A short description of what the command does)

Optionally: Aliases = [] -> If the command has aliases they can be added normally, no issues Usage = "" -> If the command takes any args outside of self and ctx, put the usage order here. E.g. name = "rtfm" description = "Gives you a documentation link for an entity." usage=""

ribosomerocker commented 4 years ago

I've fixed this in my branch currently

MelodicAlbuild commented 4 years ago

As of M.A's Branch Update this issue was resolved (I have tested and checked) I will close this issue out