Add documentation for Preconditions, Aliases, Command Structure

Resolves #223
This commit is contained in:
Christopher F
2016-08-27 17:44:53 -04:00
parent 15018e243a
commit 4e636f732d
6 changed files with 125 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
[Module]
public class InfoModule
{
// Constrain this command to Guilds
[RequireContext(ContextType.Guild)]
public async Task Whois(IMessage msg, IGuildUser user) { }
// Constrain this command to either Guilds or DMs
[RequireContext(ContextType.Guild | ContextType.DM)]
public async Task Info(IMessage msg) { }
}