mirror of
				https://github.com/cinnyapp/cinny.git
				synced 2025-11-04 06:20:28 +03: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]: {
 | 
			
		||||
        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);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue