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,
name: 'happy',
description: 'Express your happiness',
preconditions: [['PatreonOnly', 'CoordinatorOnly']],
preconditions: [['CoordinatorOnly', 'PatreonOnly']],
});
}

View File

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

View File

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

View File

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

View File

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