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

Diff of /trunk/src/commands/moderation/KickCommand.ts

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

revision 194 by rakin, Mon Jul 29 17:28:58 2024 UTC revision 195 by rakin, Mon Jul 29 17:28:58 2024 UTC
# Line 86  export default class KickCommand extends Line 86  export default class KickCommand extends
86          }          }
87    
88          try {          try {
89              if (!(await hasPermissions(client, member, msg, null, "You don't have permission to kick this user."))) {              if (!(await hasPermission(client, user, msg, null, "You don't have permission to kick this user."))) {
90                  return;                  return;
91              }              }
92                            

Legend:
Removed from v.194  
changed lines
  Added in v.195

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26