minetestbot-modules/COMMANDS.md

6.9 KiB

Commands

Required arguments are enclosed in { and }, optional arguments are enclosed in [ and ]

$botname refers to the name of the IRC bot, e.g. MinetestBot

Command Description Useable by
admin.py
!join {channel} [channel-key] Join the specified channel Admins
!part {channel} Leave the specified channel Admins
!quit Disconnect from IRC Server Owner
$botname: quit Disconnect from IRC Server Owner
!msg {channel/user} {message} Send message to channel/user Admins
!me {channel/user} {message} Send action to channel/user Admins
antiabuse.py
!ignore {user} Add user to ignore list Admins
!unignore {user} Remove user from ignore list Admins
calc.py
!c {expression} Calculate expression using Google Calculator Anyone
forumutils.py
!sfu {searchstring} Search Minetest Forum users using searchstring Anyone
!sfulimit {user} {'reset'/number} Set search limit for user Admins
ping.py
(hi|hello|hey) $botname Reply with (Hi|Hello|Hey)( |!) Anyone
reload.py
$botname: reload {module} Reloads specified module Admins
rutils.py
!rev {string} Reverse String Anyone
!b64e {string} Base64-encode a string Anyone
!b64d {string} Base64-decode a string Anyone
!b32e {string} Base32-encode a string Anyone
!b32d {string} Base32-decode a string Anyone
!b16e {string} Base16-encode a string Anyone
!b16d {string} Base16-decode a string Anyone
!crc32 {string} Hash a string using crc32 Anyone
!hex {string} "Hexlify" a string Anyone
!unhex {string} Un-"Hexlify" a string Anyone
!uuencode {string} uuencode a string Anyone
!uudecode {string} uudecode a string Anyone
search.py
!g {string} Output first Google result for string Anyone
!gc {string} Output Google result count for string Anyone
seen.py
!seen {person} Output when person was last seen Anyone
server.py
!server Get random server from servers.minetest.ru Anyone
serverup.py
!up {IP/hostname} [port] Check if server at IP/hostname is up Anyone
Supports multiple Ports e.g. 123-456,999
shorten.py
!sh {service} {url} Shortens URL Anyone
Currently supports: id.gd, v.gd
twitter.py
!tw {link/username/tweet_id} Query Tweet from Twitter Anyone
wikipedia.py
!wik {term} Query wiki.minetest.com for term Anyone