New function and module to allow users in the allowList to change the bot's nick

This commit is contained in:
Kyle
2020-08-17 19:51:38 -04:00
parent b483424d8f
commit cce7ef88dc
3 changed files with 17 additions and 0 deletions

View File

@ -11,6 +11,13 @@ shift
echo -en "${msg}$@\r\n" | tee -a "$input"
}
nick()
{
local msg="NICK $1"
shift
echo -en "${msg}\r\n" | tee -a "$input"
}
reply()
{
shift