mirror of
https://github.com/qwerinope/qweribot.git
synced 2025-12-18 15:01:38 +01:00
add more vulnchatters and gettimeout aliases
This commit is contained in:
@@ -166,9 +166,9 @@ COMMAND|FUNCTION|USER|ALIASES|DISABLEABLE
|
||||
-|-|-|-|-
|
||||
`getcommands [enabled/disabled]`|Get a list of all, enabled or disabled commands|anyone|`commands` `getcommands` `getc`|:x:
|
||||
`getcheers [enabled/disabled]`|Get a list of all, enabled or disabled cheers|anyone|`getcheers` `getcheer`|:x:
|
||||
`gettimeout {target}`|Get the remaining timeout duration of targeted user|anyone|`gettimeout` `gett`|:white_check_mark:
|
||||
`gettimeout {target}`|Get the remaining timeout duration of targeted user|anyone|`gettimeout` `gett` `releasetime`|:white_check_mark:
|
||||
`stacking [on/off]`|Check/set if timeouts are stacking. Only admins can set the stacking state|anyone/admins|`stacking`|:x:
|
||||
`vulnchatters`|Get amount of chatters vulnerable to explosives|anyone|`vulnchatters` `vulnc`|:white_check_mark:
|
||||
`vulnchatters`|Get amount of chatters vulnerable to explosives|anyone|`vulnchatters` `vulnc` `vc`|:white_check_mark:
|
||||
`disablecommand {command/item}`|Disable a specific command/item|moderator|`disablecommand`|:x:
|
||||
`enablecommand {command/item}`|Re-enable a specific command/item|moderator|`enablecommand`|:x:
|
||||
`disablecheer {cheer}`|Disable a specific cheer event|moderator|`disablecheer`|:x:
|
||||
|
||||
@@ -6,7 +6,7 @@ import { timeoutDuration } from "lib/timeout";
|
||||
|
||||
export default new Command({
|
||||
name: 'gettimeout',
|
||||
aliases: ['gett', 'gettimeout'],
|
||||
aliases: ['gett', 'gettimeout', 'releasetime'],
|
||||
usertype: 'chatter',
|
||||
execution: async msg => {
|
||||
const args = parseCommandArgs(msg.messageText);
|
||||
|
||||
@@ -3,7 +3,7 @@ import { Command, sendMessage } from "commands";
|
||||
|
||||
export default new Command({
|
||||
name: 'vulnchatters',
|
||||
aliases: ['vulnchatters', 'vulnc'],
|
||||
aliases: ['vulnchatters', 'vulnc', 'vc'],
|
||||
usertype: 'chatter',
|
||||
execution: async msg => {
|
||||
const data = await redis.keys('user:*:vulnerable');
|
||||
|
||||
Reference in New Issue
Block a user