/[sudobot]/trunk/src/queues/unmute-job.ts
ViewVC logotype

Diff of /trunk/src/queues/unmute-job.ts

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

revision 235 by rakin, Mon Jul 29 17:29:08 2024 UTC revision 335 by rakin, Mon Jul 29 17:29:36 2024 UTC
# Line 49  export default async function unmuteJob( Line 49  export default async function unmuteJob(
49              console.log(e);                console.log(e);  
50                            
51              const muteRecord = await MuteRecord.findOne({              const muteRecord = await MuteRecord.findOne({
52                  where: {                  user_id,
53                      user_id,                  guild_id
                     guild_id  
                 }  
54              });              });
55            
56              if (muteRecord) {              if (muteRecord) {
57                  await muteRecord.destroy();                  await muteRecord.delete();
58              }              }
59          }          }
60      }      }

Legend:
Removed from v.235  
changed lines
  Added in v.335

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26