diff --git a/DiscordBot/Modules/UserSlashModule.cs b/DiscordBot/Modules/UserSlashModule.cs index eaa6aae4..1d2febd2 100644 --- a/DiscordBot/Modules/UserSlashModule.cs +++ b/DiscordBot/Modules/UserSlashModule.cs @@ -411,14 +411,12 @@ public async Task DuelAccept(string duelKey, string type) var loser = challengerWins ? opponent : challenger; if (type == "mute") { - // Check if any user is an Admin var isChallengerAdmin = challenger.GuildPermissions.Has(GuildPermission.Administrator); var isOpponentAdmin = opponent.GuildPermissions.Has(GuildPermission.Administrator); - // If one of them is an admin, they automatically win (but not if both are admins) - if (isChallengerAdmin ^ isOpponentAdmin) + if (isChallengerAdmin || isOpponentAdmin) { - winner = isChallengerAdmin ? challenger : opponent; - loser = isChallengerAdmin ? opponent : challenger; + // Unfair advantages are unfair. Also, bot can't mute admins. Remove the stakes. + type = "friendly"; } }