1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-04 04:56:30 +03:00

Minor changes

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2023-06-10 20:14:02 +05:00
parent bef48237a9
commit 1cd309e498
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF
3 changed files with 6 additions and 7 deletions

View file

@ -31,7 +31,7 @@ public class Boyfriend {
var services = host.Services;
var slashService = services.GetRequiredService<SlashService>();
_ = await slashService.UpdateSlashCommandsAsync();
await slashService.UpdateSlashCommandsAsync();
await host.RunAsync();
}
@ -75,7 +75,7 @@ public class Boyfriend {
.AddSingleton<GuildDataService>()
.AddSingleton<UtilityService>()
.AddCommandTree()
.WithCommandGroup<BanCommand>();
.WithCommandGroup<BanCommandGroup>();
var responderTypes = typeof(Boyfriend).Assembly
.GetExportedTypes()
.Where(t => t.IsResponder());