reeeeeeeeeeeeeeeeeeeeeee

This commit is contained in:
Elijah R 2024-04-02 23:22:58 -04:00
parent 16a9f80a6f
commit 9aeb024fec

View file

@ -89,7 +89,7 @@ public class DiscordCommands : ApplicationCommandModule
return; return;
} }
await vm.cvm.Ban(username); await vm.cvm.Ban(username);
await ctx.CreateResponseAsync($"Successfully banned {username} from {vm}"); await ctx.CreateResponseAsync($"Successfully banned {username} from {vm.Config.Name}");
} }
[SlashCommand("kick", "Kick a user")] [SlashCommand("kick", "Kick a user")]
@ -112,7 +112,7 @@ public class DiscordCommands : ApplicationCommandModule
return; return;
} }
await vm.cvm.Kick(username); await vm.cvm.Kick(username);
await ctx.CreateResponseAsync($"Successfully kicked {username} from {vm}"); await ctx.CreateResponseAsync($"Successfully kicked {username} from {vm.Config.Name}");
} }
[SlashCommand("reboot", "Reboot a VM")] [SlashCommand("reboot", "Reboot a VM")]