A bot that has a command for disconnecting from a channel, checks if sender is the channel its in (basically if the command is sent by the streamer.)
Actual behaviour:
Basically just throws an error crashing the bot.
Expected behaviour:
Should part from the selected channel.
Error log:
node_modules\tmi.js\lib\utils.js:75
var channel = (str ? str : "").toLowerCase();
^
TypeError: (intermediate value)(intermediate value)(intermediate value).toLowerCase is not a function
A bot that has a command for disconnecting from a channel, checks if sender is the channel its in (basically if the command is sent by the streamer.)
Actual behaviour: Basically just throws an error crashing the bot.
Expected behaviour: Should part from the selected channel.
Error log:
Server configuration