Compare commits

...
1 Commits
Author SHA1 Message Date
Dustin Pianalto cdbeac195f add moderator role command
CI / build (push) Has been cancelled
2021-01-25 22:21:56 -09:00
+1 -1
View File
@@ -28,7 +28,7 @@ func addModeratorRoleCommandFunc(ctx disgoman.Context, args []string) {
}
roles := append(args, ctx.Message.MentionRoles...)
if len(roles) > 0 {
for _, id := range ctx.Message.MentionRoles {
for _, id := range roles {
_, err := services.GuildService.CreateRole(geeksbot.Role{
ID: id,
RoleType: "moderator",