xAI Grok chatbot for Discord
A Python based Discord bot using Discord API
and xAI Grok OpenAI API
to provide conversational functionality.
- main.py
- B07_C0R3.py
- B07_Y4ML.py
- _init_botname.yaml
- _init__global.yaml
- Clone the repository to your local machine.
- Configure your bot by modifying the example
_init_botname.yaml
template. - Create a system environment variable for your bot's XAI_API_KEY
- Create a system environment variable for your bot's DISCORD_TOKEN
- Install requirements.
pip install -r requirements.txt
- Run the bot using
python main.py botname
.