@@ -3,9 +3,9 @@ public class InfoModule
|
||||
{
|
||||
// Constrain this command to Guilds
|
||||
[RequireContext(ContextType.Guild)]
|
||||
public async Task Whois(IMessage msg, IGuildUser user) { }
|
||||
public async Task Whois(IUserMessage msg, IGuildUser user) { }
|
||||
|
||||
// Constrain this command to either Guilds or DMs
|
||||
[RequireContext(ContextType.Guild | ContextType.DM)]
|
||||
public async Task Info(IMessage msg) { }
|
||||
public async Task Info(IUserMessage msg) { }
|
||||
}
|
||||
Reference in New Issue
Block a user