add couple of stuff

This commit is contained in:
ivanch committed 2023-02-02 12:50:33 -03:00
1 parent ae9c3cfa35
commit 5146f47c30
4 files changed
+115 -52

No files matched your search

+10 -1
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")]