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

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

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

revision 80 by rakin, Mon Jul 29 17:28:30 2024 UTC revision 108 by rakin, Mon Jul 29 17:28:38 2024 UTC
# Line 190  export default class ClearCommand extend Line 190  export default class ClearCommand extend
190              await message!.edit(messageOptions);              await message!.edit(messageOptions);
191          }          }
192    
193            setTimeout(async () => {
194                if (msg instanceof Message)
195                    await msg.delete();
196                
197                await message!.delete();
198            }, 5500);
199    
200          (global as any).deletingMessages = false;          (global as any).deletingMessages = false;
201      }      }
202  }  }

Legend:
Removed from v.80  
changed lines
  Added in v.108

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26