База знаний

ts3 bot chat commands

Most functions of the bot can be controlled from the control panel. There are a few things you can do from chat commands if you need to. Make sure that your unique ID is added to the control panel as an administrator that can enter commands. You can also always type !bothelp

Command Alternative commands Needed Permissions? Description
!botinfo !info Nothing needed Shows you the running bot version and uptime. It also displays the current bot admin permission level.
!bothelp !h Nothing needed Shows you a list of bot chat commands. Optionally you can add a command name to this command to get a help message about this command.
Usage: !bothelp [bot chat command]
!botcfghelp   Bot Admin Returns informations about a config key. If no key argument given, a list of config keys will be returned.
Example: !botcfghelp bot_channel_id
!botcfgget   Bot Admin Returns the value of a current config key.
Example: !botcfgget bot_channel_id
!botcfgset   Bot Admin Set a new value for a config key. Notice: This changes will not used by the bot without saving and reloading!
Example: !botcfgset bot_channel_id = -1
!botcfgcheck   Bot Admin Check if current config (for example after using !botcfgset) is valid.
!botcfgreload   Bot Admin Reloads the bot configuration. You can use a function name as argument to reload only that configuration of that function.
!botcfgsave   Bot Admin Saves current bot configuration.
!botfunctionlist !functionlist Bot Admin Get a list of currently loaded functions.
!botfunctionactivate !functionon Bot Admin Activate the given function.
Usage: !botfunctionactivate <function prefix>
!botfunctiondisable !functionoff Bot Admin Disable the given function.
Usage: !botfunctiondisable <function prefix>
!botjoinchannel !joinchannel Bot Admin Switch the bot into another channel.
Usage: !botjoinchannel <channel id>
!botrename   Bot Admin Without argument bot renames back to default client name from bot config. Specify a client name as argument to set a new temporary client name for the bot.
Usage: !botrename [new name]
!botreload !reconnect Bot Admin Disconnects the current bot instance, reload bot configuration and start bot instance again. Bot configuration will be checked first!
!botversioncheck !botversion
!version
Bot Admin Displays current installed, latest final and latest development (if exists) versions of this bot.
!clientsearch !clients
!clientlist
Bot Admin Shows some database informations of a client. Search using the client name (* as a wildcard possible). You can also search using the complete unique id.
Example: !clientsearch *foo*bar*
!searchip   Bot Admin Shows some database informations of a client found using ip address. Use * as a wildcard. The client database list cache needs to be enabled in the main bot configuration!
Example: !searchip 127.0.*
!listinactiveclients !inactiveclients Bot Admin List all clients which are inactive since X days. Without argument the most inactive clients will be displayed. The client database list cache needs to be enabled in the main bot configuration!
Usage: !listinactiveclients [minimum days inactive]
!listinactivechannels !emptychannels Bot Admin List of empty channels sorted by empty since time. Optionally you can add a channel name or channel id to this command to filter the list.
Usage: !listinactivechannels [channel id or part of the channel name]
!getchannelid !channellist Bot Admin Search for channel name to see the channel id or vice versa. The full channel name is not needed, just enter a part of the channel name.
Usage: !getchannelid [channel id or part of the channel name]
!setchannelname !renamechannel Bot Admin Set a new channel name for the given channel id.
Usage: !setchannelname <channel id> <new channel name>
!setchannelgroup   Bot Admin Sets channel group to client to all specified channels! Separate all channels with a comma at the end of this command!
Usage: !setchannelgroup <client database id or unique id> <channel group id> <channel list separated with comma>
!removeservergroups   Bot Admin Removes all server groups of a client!
Usage: !removeservergroups <client database id or unique id>
!removechannelgroups   Bot Admin Sets all non-default channel groups of a client to the default channel group in all channels!
Usage: !removechannelgroups <client database id or unique id>
!msgchannelgroup   Bot Admin Sends a private message to all online clients with this specified channel groups at the moment. Multiple comma separated channel groups without spaces are possible.
Usage: !msgchannelgroup <channelgroup id> <message>
Example: !msgchannelgroup 8,5 Hello guys!
!msgservergroup   Bot Admin Sends a private message to all online clients that are member of the specified server groups. Multiple comma separated server groups without spaces are possible.
Usage: !msgservergroup <servergroup id> <message>
Example: !msgservergroup 6,7 Hello guys!

Помог ли вам данный ответ?

 Распечатать статью

Также читают

Common Permission Errors

There are common errors you will see in the bot logs showing that you don't have the correct...

How do I setup my ts3 bot?

When setting up your bot there are several fields that you need to enter. While we have tried to...