Partial stuff
This commit is contained in:
1 parent
c8095f3ba6
commit
cbf88055d3
6 files changed
+48
-3
No files matched your search
@@ -26,17 +26,18 @@ namespace StarsiegeBot
|
||||
[Command("Allow")]
|
||||
public async Task AllowChannels(CommandContext ctx, [Description("List of discord channels to allow the bot to respond on.")]params DiscordChannel[] discordChannels)
|
||||
{
|
||||
|
||||
await ctx.TriggerTypingAsync();
|
||||
}
|
||||
[Command("Allow")]
|
||||
public async Task AllowChannels(CommandContext ctx, string discordChannels = "")
|
||||
{
|
||||
|
||||
await ctx.TriggerTypingAsync();
|
||||
}
|
||||
|
||||
[Command("deny")]
|
||||
public async Task DenyChannels(CommandContext ctx, params DiscordChannel[] discordChannels)
|
||||
{
|
||||
await ctx.TriggerTypingAsync();
|
||||
foreach (DiscordChannel chan in discordChannels)
|
||||
{
|
||||
Console.WriteLine(chan.Id.ToString());
|
||||
@@ -45,6 +46,7 @@ namespace StarsiegeBot
|
||||
[Command("deny")]
|
||||
public async Task DenyChannels(CommandContext ctx, [Description("List of discord channels to deny the bot to respond on.")] string discordChannels = "")
|
||||
{
|
||||
await ctx.TriggerTypingAsync();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user