/[sudobot]/trunk/commands/expire.js
ViewVC logotype

Diff of /trunk/commands/expire.js

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

revision 45 by rakin, Mon Jul 29 17:28:20 2024 UTC revision 46 by rakin, Mon Jul 29 17:28:21 2024 UTC
# Line 50  module.exports = { Line 50  module.exports = {
50                  content: text                  content: text
51              });              });
52    
53              await setTimeoutv2('expire.js', time, message.id, ch.id, msg.guild.id);              const timeout = await setTimeoutv2('expire.js', time, message.id, ch.id, msg.guild.id);
54    
55                await msg.reply({
56                    embeds: [
57                        new MessageEmbed()
58                        .setDescription('A queue job has been added.')
59                        .setFooter({
60                            text: 'ID: ' + timeout.row.id
61                        })
62                    ]
63                });
64          }          }
65          catch(e) {          catch(e) {
66              console.log(e);              console.log(e);

Legend:
Removed from v.45  
changed lines
  Added in v.46

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26