Merge pull request #28 from smyalygames/main

fix(arabot): change order of preconditions
This commit is contained in:
Anthony 2022-07-27 02:41:23 +01:00 committed by GitHub
commit 8f04eb943f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -27,7 +27,7 @@ export class HappyCommand extends Command {
...options, ...options,
name: 'happy', name: 'happy',
description: 'Express your happiness', description: 'Express your happiness',
preconditions: [['PatreonOnly', 'CoordinatorOnly']], preconditions: [['CoordinatorOnly', 'PatreonOnly']],
}); });
} }

View File

@ -27,7 +27,7 @@ export class HugCommand extends Command {
...options, ...options,
name: 'hug', name: 'hug',
description: 'Hug a user', description: 'Hug a user',
preconditions: [['PatreonOnly', 'CoordinatorOnly']], preconditions: [['CoordinatorOnly', 'PatreonOnly']],
}); });
} }

View File

@ -27,7 +27,7 @@ export class KillCommand extends Command {
...options, ...options,
name: 'kill', name: 'kill',
description: 'Kill a user', description: 'Kill a user',
preconditions: [['PatreonOnly', 'CoordinatorOnly']], preconditions: [['CoordinatorOnly', 'PatreonOnly']],
}); });
} }

View File

@ -27,7 +27,7 @@ export class PokeCommand extends Command {
...options, ...options,
name: 'poke', name: 'poke',
description: 'Poke a user', description: 'Poke a user',
preconditions: [['PatreonOnly', 'CoordinatorOnly']], preconditions: [['CoordinatorOnly', 'PatreonOnly']],
}); });
} }

View File

@ -27,7 +27,7 @@ export class SadCommand extends Command {
...options, ...options,
name: 'sad', name: 'sad',
description: 'Express your sadness', description: 'Express your sadness',
preconditions: [['PatreonOnly', 'CoordinatorOnly']], preconditions: [['CoordinatorOnly', 'PatreonOnly']],
}); });
} }