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

Diff of /trunk/commands/schedule.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 46  module.exports = { Line 46  module.exports = {
46          text = args.join(' ');          text = args.join(' ');
47    
48          try {          try {
49              await setTimeoutv2('send.js', time, text, ch.id, msg.guild.id);              const timeout = await setTimeoutv2('send.js', time, text, ch.id, msg.guild.id);
50    
51                await msg.reply({
52                    embeds: [
53                        new MessageEmbed()
54                        .setDescription('A queue job has been added.')
55                        .setFooter({
56                            text: 'ID: ' + timeout.row.id
57                        })
58                    ]
59                });
60          }          }
61          catch(e) {          catch(e) {
62              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