Updated Administration module

This commit is contained in:
Toastie 2024-09-21 14:38:40 +12:00
parent 086b7fd9d7
commit 69f7e0bcba
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
2 changed files with 2 additions and 2 deletions

View file

@ -292,7 +292,7 @@ public class MuteService : IEService
{
ArgumentNullException.ThrowIfNull(guild);
const string defaultMuteRoleName = "nadeko-mute";
const string defaultMuteRoleName = "ellie-mute";
var muteRoleName = GuildMuteRoles.GetOrAdd(guild.Id, defaultMuteRoleName);

View file

@ -228,7 +228,7 @@ public class UserPunishService : IEService, IReadyExecutor
case PunishmentAction.RemoveRoles:
return botUser.GuildPermissions.ManageRoles;
case PunishmentAction.ChatMute:
return botUser.GuildPermissions.ManageRoles; // adds nadeko-mute role
return botUser.GuildPermissions.ManageRoles; // adds ellie-mute role
case PunishmentAction.VoiceMute:
return botUser.GuildPermissions.MuteMembers;
case PunishmentAction.AddRole: