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:
parent
bef48237a9
commit
1cd309e498
3 changed files with 6 additions and 7 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue