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

Diff of /trunk/src/commands/moderation/UnlockCommand.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 81  export default class UnlockCommand exten Line 81  export default class UnlockCommand exten
81              let error = null;              let error = null;
82    
83              if (!result) {              if (!result) {
84                  error = 'This channel wasn\'t locked. If you want to force unlock, run this command with `--force` option or select `True` if using slash commands.';                  error = 'This channel wasn\'t locked' + (role.id === msg.guild!.id ? '' : ' for the given role') + '. If you want to force unlock, run this command with `--force` option or select `True` if using slash commands.';
85              }              }
86    
87              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