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

Diff of /trunk/src/commands/automation/ExpireCommand.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 55 by rakin, Mon Jul 29 17:28:24 2024 UTC
# Line 64  export default class ExpireCommand exten Line 64  export default class ExpireCommand exten
64                            
65              text = args.join(' ');              text = args.join(' ');
66          }          }
67            
68            if (!channel.send) {
69                await msg.reply({
70                    content: 'Invalid text channel.',
71                    ephemeral: true
72                });
73    
74                return;
75            }
76    
77          try {          try {
78              const message = await channel.send({              const message = await channel.send({

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26