Genie 5.0 is a versatile bot that leverages OpenAI's powerful API to answer questions and perform various tasks. It's designed to provide real-time, automated responses based on the input it receives, making it a valuable tool for channels that need dynamic interaction capabilities. Whether you're looking to fetch information, moderate discussions, or simply entertain users, Genie 5.0 offers a wide range of functionalities to enhance your channel's engagement.
Download genie5.0.py
and save it in a dedicated folder on your computer.
Visit OpenAI platform, sign up or log in, and generate your API key in the API section.
Open your Linux terminal and set your API key in the environment variables by running: export OPENAI_API_KEY="your_api_key_here"
Replace your_api_key_here
with your actual API key.
In the terminal, install the necessary Python libraries with: pip3 install irc openai colorama
Navigate to the folder containing genie5.0.py
and start the bot by executing:
python3 genie5.0.py
Consider using screen
to keep the bot running after closing the console.
Upon running, the bot will prompt for configuration details like your server, token amount, username, and owner details for control. The token amount controls message length in the channel; a lower amount prevents flooding. The heat determines the accuracy of responses; .5
is the standard setting for balance, while .7
offers higher precision. After the initial run, a configuration file is generated for easy editing.
!join #channel
: Joins a specified channel.!part #channel
: Leaves a specified channel.!ignore user
: Ignores a specified user.
Owners can use these commands if they are set up as owner in the bot's configuration.
For questions or community interaction, visit irc.twistednet.org
and join the #dev
channel.
Enjoy using Genie 5.0! - gh0st