mirror of
https://github.com/RGBCube/cinny
synced 2025-07-30 16:37:46 +00:00
update kick command example
This commit is contained in:
parent
87e97eab88
commit
6ddcf2cb02
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ export const useCommands = (mx: MatrixClient, room: Room): CommandRecord => {
|
||||||
},
|
},
|
||||||
[Command.Kick]: {
|
[Command.Kick]: {
|
||||||
name: Command.Kick,
|
name: Command.Kick,
|
||||||
description: 'Kick user from room. Example: /kick userId1 userId2 [-r reason]',
|
description: 'Kick user from room. Example: /kick userId1 userId2 servername [-r reason]',
|
||||||
exe: async (payload) => {
|
exe: async (payload) => {
|
||||||
const [content, flags] = splitPayloadContentAndFlags(payload);
|
const [content, flags] = splitPayloadContentAndFlags(payload);
|
||||||
const users = parseUsers(content);
|
const users = parseUsers(content);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue