All commands for the ControlBot

Command Alternative commands Description
!botcfghelp   Returns information about a config key. If no key argument given, a list of config keys will be returned.
Example: !botcfghelp bot_channel_id
!botcfgget   Returns the value of a current config key.
Example: !botcfgget bot_channel_id
!botcfgset   Set a new value for a config key. Notice: You have to save and reload the bot configuration to see the changes!
Example: !botcfgset bot_channel_id = -1
!botcfgcheck   Check if current config (for example after using !botcfgset) is valid.
!botcfgreload   Reloads the bot configuration. You can use a function name as argument to reload only that configuration of that function.
!botcfgsave   Saves current bot configuration.
!botconfirmerrors !confirmerrors Resets the exception error counter, if you solved the configuration error without restarting the bot.
!botfunctionlist !functionlist Get a list of currently loaded functions.
!botfunctioninfo !functioninfo Return a short information about the function.
Usage: !botfunctioninfo <function prefix>
!botfunctionactivate !functionon Activate the given function.
Usage: !botfunctionactivate <function prefix>
!botfunctiondisable !functionoff Disable the given function.
Usage: !botfunctiondisable <function prefix>
!botjoinchannel !joinchannel Switch the bot into another channel.
Usage: !botjoinchannel <channel id>
!botrename   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 Disconnects the current virtual bot instance, reload bot configuration and start the virtual bot instance again. Bot configuration will be checked first!
!clientsearch !clients
!clientlist
Shows some database information 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   Shows some database information 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 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 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 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 Set a new channel name for the given channel id.
Usage: !setchannelname <channel id> <new channel name>
!setchannelgroup   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   Removes all server groups of a client!
Usage: !removeservergroups <client database id or unique id>
!removechannelgroups   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   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   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!

 

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *