/[sudobot]/trunk/src/utils/structures/BaseCommand.ts
ViewVC logotype

Diff of /trunk/src/utils/structures/BaseCommand.ts

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

revision 381 by rakin, Mon Jul 29 17:29:40 2024 UTC revision 382 by rakin, Mon Jul 29 17:29:53 2024 UTC
# Line 88  export default abstract class BaseComman Line 88  export default abstract class BaseComman
88              }              }
89          }          }
90    
         if (message instanceof Interaction && !message.isRepliable())  
             return;  
   
91          if (!(await this.permissionValidation(client, member!))) {          if (!(await this.permissionValidation(client, member!))) {
92                if (message instanceof Interaction && !message.isRepliable())
93                    return;
94                
95              await message.reply({              await message.reply({
96                  embeds: [                  embeds: [
97                      {                      {

Legend:
Removed from v.381  
changed lines
  Added in v.382

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26