/[sudobot]/trunk/src/commands/automation/AddQueueCommand.ts
ViewVC logotype

Diff of /trunk/src/commands/automation/AddQueueCommand.ts

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

revision 51 by rakin, Mon Jul 29 17:28:23 2024 UTC revision 72 by rakin, Mon Jul 29 17:28:29 2024 UTC
# Line 4  import DiscordClient from '../../client/ Line 4  import DiscordClient from '../../client/
4  import CommandOptions from '../../types/CommandOptions';  import CommandOptions from '../../types/CommandOptions';
5  import InteractionOptions from '../../types/InteractionOptions';  import InteractionOptions from '../../types/InteractionOptions';
6  import MessageEmbed from '../../client/MessageEmbed';  import MessageEmbed from '../../client/MessageEmbed';
 import Help from '../../utils/help';  
7  import ms from 'ms';  import ms from 'ms';
8  import { timeSince } from '../../utils/util';  import { timeSince } from '../../utils/util';
9  import { setTimeoutv2 } from '../../utils/setTimeout';  import { setTimeoutv2 } from '../../utils/setTimeout';
# Line 73  export default class AddQueueCommand ext Line 72  export default class AddQueueCommand ext
72    
73          const command = await cmd.join(' ');          const command = await cmd.join(' ');
74    
75          const queue = await setTimeoutv2('queue.ts', time, msg.guild!.id, command, command, msg.id, msg.channel!.id, msg.guild!.id);          const queue = await setTimeoutv2('queue', time, msg.guild!.id, command, command, msg.id, msg.channel!.id, msg.guild!.id);
76    
77          await msg.reply({          await msg.reply({
78              embeds: [              embeds: [

Legend:
Removed from v.51  
changed lines
  Added in v.72

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26