/[sudobot]/trunk/src/commands/moderation/MuteCommand.ts
ViewVC logotype

Diff of /trunk/src/commands/moderation/MuteCommand.ts

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 102 by rakin, Mon Jul 29 17:28:36 2024 UTC revision 106 by rakin, Mon Jul 29 17:28:37 2024 UTC
# Line 25  export async function mute(client: Disco Line 25  export async function mute(client: Disco
25                      const json = JSON.parse(timeout.row.params);                      const json = JSON.parse(timeout.row.params);
26    
27                      if (json) {                      if (json) {
28                          if (json[1] === user.id) {                          if (json[1] === user.id && timeout.row.filePath.endsWith('unmute-job')) {
29                              await clearTimeoutv2(timeout);                              await clearTimeoutv2(timeout);
30                          }                          }
31                      }                      }

Legend:
Removed from v.102  
changed lines
  Added in v.106

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26