adding flags

This commit is contained in:
2023-07-30 23:37:37 -03:00
parent 59aa6a13a3
commit 9df9090812
7 changed files with 73 additions and 24 deletions

View File

@@ -1,5 +1,6 @@
using Discord;
using Discord.Commands;
using Kasbot.Models;
using Kasbot.Services;
using TextCommandFramework.Services;
@@ -30,7 +31,7 @@ namespace TextCommandFramework.Modules
throw new Exception("You must be connect in a voice channel!");
}
await PlayerService.Play(Context, text);
await PlayerService.Play(Context, text, new Flags(text));
}
[Command("join", RunMode = RunMode.Async)]