Updated Administration module
This commit is contained in:
parent
086b7fd9d7
commit
69f7e0bcba
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue