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

Diff of /trunk/src/commands/moderation/EchoCommand.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 47  export default class EchoCommand extends Line 47  export default class EchoCommand extends
47    
48              content = await options.args.join(' ');              content = await options.args.join(' ');
49          }          }
50            
51            if (!channel.send) {
52                await msg.reply({
53                    content: 'Invalid text channel.',
54                    ephemeral: true
55                });
56    
57                return;
58            }
59    
60          try {          try {
61              await channel.send({              await channel.send({

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26