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

Add /kick command

This commit is contained in:
Macintxsh 2023-06-11 17:37:46 +03:00
parent 2ee30ddfb8
commit 6bee9ac0fc
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 57156EBA2C282D9A
7 changed files with 1475 additions and 835 deletions

View file

@ -76,7 +76,8 @@ public class Boyfriend {
.AddSingleton<UtilityService>()
.AddHostedService<GuildUpdateService>()
.AddCommandTree()
.WithCommandGroup<BanCommandGroup>();
.WithCommandGroup<BanCommandGroup>()
.WithCommandGroup<KickCommandGroup>();
var responderTypes = typeof(Boyfriend).Assembly
.GetExportedTypes()
.Where(t => t.IsResponder());