mirror of
https://github.com/qwerinope/qweribot.git
synced 2025-12-18 21:11:39 +01:00
add special alias to docs, remove accidental import, add fake modme command
This commit is contained in:
@@ -33,6 +33,8 @@ Arguments like `{this}` are required.
|
||||
Commands and items can be disabled and enabled by admins with the [`enable` and `disable` commands](#administrative-commands).
|
||||
Not all Commands can be disabled, the `DISABLEABLE` field below shows if they can or can't. Items can always be disabled.
|
||||
|
||||
Commands can have special aliases, these don't require the prefix. Special aliases have curly brackets around them in this document. For example: `{blastin}` on silver bullets.
|
||||
|
||||
A full list of Commands can be found [here](#commands-1)
|
||||
|
||||
### Timeouts and ghost whispers
|
||||
@@ -149,7 +151,7 @@ COMMAND|FUNCTION|USER|ALIASES|DISABLEABLE
|
||||
NAME|COMMAND|FUNCTION|ALIASES
|
||||
-|-|-|-
|
||||
Blaster|`blaster {target}`|Times targeted user out for 60 seconds|`blaster` `blast`
|
||||
Silver Bullet|`silverbullet {target}`|Times targeted user out for 24 hours|`silverbullet` `execute`
|
||||
Silver Bullet|`silverbullet {target}`|Times targeted user out for 24 hours|`silverbullet` `execute` `{blastin}`
|
||||
Grenade|`grenade`|Times a random vulnerable chatter out for 60 seconds|`grenade`
|
||||
TNT|`tnt`|Give 5-10 random chatters 60 second timeouts|`tnt`
|
||||
|
||||
|
||||
14
src/commands/fakemodme.ts
Normal file
14
src/commands/fakemodme.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { Command, sendMessage } from "commands";
|
||||
import { timeout } from "lib/timeout";
|
||||
|
||||
export default new Command({
|
||||
name: 'fakemodme',
|
||||
aliases: ['modme'],
|
||||
usertype: 'chatter',
|
||||
execution: async (_msg, user) => {
|
||||
await Promise.all([
|
||||
timeout(user, "NO MODME", 60),
|
||||
sendMessage(`NO MODME COMMAND!!! UltraMad`)
|
||||
]);
|
||||
}
|
||||
});
|
||||
@@ -11,7 +11,6 @@ import { isInvuln, setTemporaryInvuln } from "lib/invuln";
|
||||
import { getUserRecord } from "db/dbUser";
|
||||
import { createCheerRecord } from "db/dbCheers";
|
||||
import handleAnivMessage from "lib/handleAnivMessage";
|
||||
import { spec } from "node:test/reporters";
|
||||
|
||||
eventSub.onChannelChatMessage(streamerId, streamerId, parseChatMessage);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user