add couple of stuff

This commit is contained in:
2023-02-02 12:50:33 -03:00
parent ae9c3cfa35
commit 5146f47c30
4 changed files with 115 additions and 52 deletions

View File

@@ -50,7 +50,16 @@ namespace TextCommandFramework.Modules
var user = Context.User;
if (user.IsBot) return;
await PlayerService.Stop(Context);
await PlayerService.Stop(Context.Guild.Id);
}
[Command("leave", RunMode = RunMode.Async)]
public async Task LeaveAsync()
{
var user = Context.User;
if (user.IsBot) return;
await PlayerService.Stop(Context.Guild.Id);
}
[Command("guild_only")]