First, grab your Google AI Studio API Key and your Discord Bot Token, you will need these for later!
You can put channel ID(s) in which Techiee will always check for messages and respond, in config.py. Otherwise, pinging Techiee, DMing Techiee or using /create-thread will also work.
You can also adjust many other settings in config.py, such as the models to use, default thinking level, model parameters, safety settings, system prompt, help text, default prompts for different content types, and more. You should put your own Discord user ID (and any other admins) in there. This allows you to use admin-only commands like /sync.
- Clone this repo, by opening a terminal/command prompt and running:
git clone https://github.com/MerBudd/Techiee.py.git cd Techiee.py - Rename ".env.example" to
.env - Open
.envand put your AI Studio / Gemini API Key(s), along with your bot's token in the appropriate fields, then save - To install dependencies, run:
pip install -U -r requirements.txt - To run the bot, run this command:
python Techiee.py
Note
Grounding with Google Search requires a paid API tier and is disabled by default. To enable it, set enable_google_search = True in config.py.