11 lines
336 B
C#
11 lines
336 B
C#
[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) { }
|
|
} |