a couple of stuff + skip

This commit is contained in:
2023-02-02 22:14:17 -03:00
parent 812fc0bf41
commit 5d910a62a1
4 changed files with 86 additions and 15 deletions

View File

@@ -53,6 +53,15 @@ namespace TextCommandFramework.Modules
await PlayerService.Stop(Context.Guild.Id);
}
[Command("skip", RunMode = RunMode.Async)]
public async Task SkipAsync()
{
var user = Context.User;
if (user.IsBot) return;
await PlayerService.Skip(Context.Guild.Id);
}
[Command("leave", RunMode = RunMode.Async)]
public async Task LeaveAsync()
{