1
Fork 0
mirror of https://github.com/RGBCube/cinny synced 2025-07-30 00:17:45 +00:00

update kick command example

This commit is contained in:
Ajay Bura 2025-05-13 16:58:43 +05:30
parent 87e97eab88
commit 6ddcf2cb02

View file

@ -255,7 +255,7 @@ export const useCommands = (mx: MatrixClient, room: Room): CommandRecord => {
},
[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) => {
const [content, flags] = splitPayloadContentAndFlags(payload);
const users = parseUsers(content);