noescape00 / DiscordTipBot

Tipping bot for discord that supports STRAT and other cryptocurrencies
GNU General Public License v3.0
5 stars 9 forks source link

Implement Help command #1

Closed noescape00 closed 6 years ago

noescape00 commented 6 years ago

Implement an attribute which we will be able to use on every command and supply there help message. Like that:

        [Command("withdraw")]
        [HelpInfo("Withdraws specified amount of money. Example usage: ....")]
        public Task WithdrawAsync(string address, double amount)
        {
            // TODO
            throw new NotImplementedException();
        }

Using those attributes we will fork a help message and display it when help command is called.

noescape00 commented 6 years ago

Implemented