RocketChat/Rocket.Chat

View on GitHub
apps/meteor/app/slashcommands-inviteall/client/client.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { slashCommands } from '../../utils/client/slashCommand';

slashCommands.add({
    command: 'invite-all-to',
    options: {
        description: 'Invite_user_to_join_channel_all_to',
        params: '#room',
        permission: ['add-user-to-joined-room', 'add-user-to-any-c-room', 'add-user-to-any-p-room'],
    },
});
slashCommands.add({
    command: 'invite-all-from',
    options: {
        description: 'Invite_user_to_join_channel_all_from',
        params: '#room',
        permission: 'add-user-to-joined-room',
    },
});