I have a working Twitch bot but whenever I connect via telnet and issue the ".rehash" or ".restart" commands, it crashes.
Code: Select all
*** skull joined the party line.
.rehash
[14:32:09] #skull# rehash
Rehashing.
[14:32:09] Rehashing ...
[14:32:09] Listening for telnet connections on 0.0.0.0 port 36765 (all).
[14:32:09] Tcl error in file 'twitch.conf':
[14:32:09] Read-only variable
(write trace on "keep-nick")
invoked from within
"set keep-nick 1"
(file "twitch.conf" line 1203)
[14:32:09] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
Connection closed by foreign host.