AikouAI and TypeScript.
Server Support
ยท
Report Bug & Request Feature
AikouAI is a versatile Discord bot that now also offers text-to-text capabilities through its integration with Google Gemini, an advanced text generation model platform. It automatically responds to specific commands on Discord, generating text or images based on the nature of users' requests.
Create Discord Bot and get token and client id from Discord Developer Portal
Download Node.js
Create Replicate account and get token
Create Gemini account and get token
git clone https://github.com/LucasB25/AikouAI.git
cd AikouAI
npm i
or
yarn i
Create a .env
file in the root directory of your project with the following variables:
or you can use the .env.example file
TOKEN= #Discord Bot Token
CLIENT_ID= #Discord Bot Client ID
ACTIVITY=/help
DATABASE_URL= "" #Your database url (if sqlite then you can leave it blank)
#ForumChannels
FORUM_CHANNELS= ["",""] #Forum Channels: An array of forum channel IDs where the bot will operate. Add your forum channel IDs here.
TAGS_NAMES= ["",""] #Tags Names: An array of tag names that will be applied to threads created in the specified forum channels.
#For REPLICATE
REPLICATE_TOKEN= #Replicate Token from https://replicate.com/signin
REPLICATE_MODEL=bytedance/sdxl-lightning-4step:727e49a643e999d602a896c774a0658ffefea21465756a6ce24b7ea4165eba6a
#For GEMINI
GEMINI_KEY= #GEMINI key from https://makersuite.google.com/
GEMINI_MODEL=gemini-1.5-flash
npm run db:push
Run the migrations (Only if you want to migrate your database)
npm run db:migrate
npm run start
Thank you for your interest in contributing to AikouAI! Here are some guidelines to follow when contributing:
Your contribution will be reviewed by the project maintainers, and any necessary feedback or changes will be discussed with you. We appreciate your help in making AikouAI better!
Thanks goes to these wonderful people :