ghorsington 3 yıl önce
ebeveyn
işleme
c95464a72f
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      bot/src/plugins/violation.ts

+ 1 - 1
bot/src/plugins/violation.ts

@@ -44,7 +44,7 @@ export class ViolationPlugin {
         {
             command: "mute",
             type: Mute,
-            start: async (member: GuildMember | PartialGuildMember, settings: GuildViolationSettings, violation: TimedViolation): Promise<void> => {
+            start: async (member: GuildMember | PartialGuildMember, settings: GuildViolationSettings): Promise<void> => {
                 const muteRoleResolve = await tryDo(member.guild.roles.fetch(settings.muteRoleId));
                 if (!muteRoleResolve.ok || !muteRoleResolve.result) {
                     logger.error(