Skip to content

PinJhih/gemini-dc-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Bot with Gemini API

Setup

Clone the Repository

git pull https://github.com/PinJhih/gemini-dc-bot.git
cd gemini-dc-bot

Install Dependencies

pip install -r requirements.txt

Set Environment Variables

  • Create a file named .env
    # for example, use the `touch` command
    touch .env
  • Add your Discord Bot Token and Gemini API Key to the .env file:
    BOT_TOKEN=<Your Discord Bot Token>
    GEMINI_API_KEY=<Your Gemini API Key>
    

Run

Run on Host

python gemini_dc_bot/bot.py

Run on Docker

docker build . gemini-dc-bot
docker run gemini-dc-bot

Releases

No releases published

Packages

No packages published