summaryrefslogtreecommitdiffstats
path: root/matterbridge.toml.sample
diff options
context:
space:
mode:
authorKufat <kufat@kufat.net>2022-11-26 18:01:10 -0500
committerGitHub <noreply@github.com>2022-11-27 00:01:10 +0100
commit6d5a3dff2279f9cc1e9a846419c6cae2fe563e8d (patch)
tree4975e052caefdd4beb0d05b92a9b9a3520781810 /matterbridge.toml.sample
parent3ad5deaff12abdba195824a940ab053ad6630752 (diff)
downloadmatterbridge-msglm-6d5a3dff2279f9cc1e9a846419c6cae2fe563e8d.tar.gz
matterbridge-msglm-6d5a3dff2279f9cc1e9a846419c6cae2fe563e8d.tar.bz2
matterbridge-msglm-6d5a3dff2279f9cc1e9a846419c6cae2fe563e8d.zip
Allow substitution of bot's nick in RunCommands (irc) (#1890)
* Allow substitution of bot's nick in RunCommands * Tweak description of "{BOTNICK}" Made the description of "{BOTNICK}" consistent with that of other keywords
Diffstat (limited to 'matterbridge.toml.sample')
-rw-r--r--matterbridge.toml.sample5
1 files changed, 3 insertions, 2 deletions
diff --git a/matterbridge.toml.sample b/matterbridge.toml.sample
index 97b27d73..20800689 100644
--- a/matterbridge.toml.sample
+++ b/matterbridge.toml.sample
@@ -122,10 +122,11 @@ RejoinDelay=0
#Only works in IRC right now.
ColorNicks=false
-#RunCommands allows you to send RAW irc commands after connection
+#RunCommands allows you to send RAW irc commands after connection.
+#The string {BOTNICK} (case sensitive) will be replaced with the bot's current nickname.
#Array of strings
#OPTIONAL (default empty)
-RunCommands=["PRIVMSG user hello","PRIVMSG chanserv something"]
+RunCommands=["PRIVMSG user hello","PRIVMSG chanserv something", "MODE {BOTNICK} +B"]
#PingDelay specifies how long to wait to send a ping to the irc server.
#You can use s for second, m for minute