Best darn IRC AI chat bot on the planet! xAI API doesn't hold back and is very candid unlike others.
Edit the grok.conf and keywords in the .py file to your preferred liking. Be sure to put the bot's nick in the keywords section as it only responds to keywords you've added.
Replace xai-REDACTED with your API key found here: https://console.x.ai/
X's xAI SDK reference: https://docs.x.ai/api/integrations#openai-sdk
Need help? /join #canada on irc.rizon.net
pip3 install openai==0.28 pyshorteners
mkdir -p grokbot
cd grokbot
vim grok.conf # Edit context, server, channel, nickname, ident and realname
vim grok.py # Edit the file by adding the bot's nick and keywords
screen -S grokbot # Add to a screen session
python grok.py # Run the bot and enjoy