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

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

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

revision 241 by rakin, Mon Jul 29 17:29:10 2024 UTC revision 242 by rakin, Mon Jul 29 17:29:10 2024 UTC
# Line 80  export default class LockCommand extends Line 80  export default class LockCommand extends
80              let error = null;              let error = null;
81    
82              if (!result) {              if (!result) {
83                  error = 'This channel is already locked.'; // If you want to force unlock, run this command with `--force` option or select `True` if using slash commands.';                  error = 'This channel is already locked' + (role.id === msg.guild!.id ? '' : ' for the given role') + '.';
84              }              }
85    
86              if (error) {              if (error) {

Legend:
Removed from v.241  
changed lines
  Added in v.242

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26