Features β¨ (Click to expand)
- Hybrid Command System: Get the best of slash and normal commands. It's like a buffet! βοΈ
- Imagine generation: Make your imagination come true for free π€
- Free LLM Model: Enjoy the powerful capabilities of this language model without spending a dime. π€
- Mention Recognition: The bot always responds when you mention it or say its name. It's as attentive as a squirrel spotting a shiny acorn! βοΈ
- Message Handling: The bot knows when you're replying to someone else, so it won't cause confusion. It's like having a mind reader on your server! πͺ
- Channel-Specific Responses: Use the
/toggleactive
command to chill the bot in a specific channel. βοΈ - GPT3 model: Leverage the power of GPT model for advanced language processing capabilities. π€
- Secure Credential Management: Keep your credentials secure using environment variables. π
- Web Access: Web Access is now available! Unlock a whole new level of awesomeness. π
- YouTube Video Summarizer: This is a feature that utilizes the power of the Language Model (LLM) to generate summaries of YouTube videos. π
- Speech recognition: Coming soon! Get ready for an LLM-powered voice assistant.
Commands βοΈβοΈ (Click to expand)
-
/help
: Get all other commands. βοΈ -
/pfp [image_url]
: Change the bot's actual profile picture. πΌοΈ -
/imagine
: Generate an image usingImaginepy
πΌοΈ -
/changeusr [new_username]
: Change the bot's username. π -
/ping
: Get a "Pong" response from the bot. π -
/toggleactive
: Toggle active channels. π -
/toggledm
: Toggle DM for chatting. π¬ -
/clear
: Clear the message history. ποΈ -
/gif
: Display a random image or GIF of a neko, waifu, husbando, kitsune, or other actions. π± -
/dalle
: create images usingDalle
-
/support
: Need Support?
Enabling Internet access ππ(Click to Expand)
To ensure that the bot has access to the most up-to-date information, you can enable internet access by setting the INTERNET_ACCESS
parameter to true in the config.yml
file. This will allow the bot to retrieve information beyond the data it was initially trained on, which was only available up until 2021.
https://github.com/sonujana26/Discord-AI-bot/blob/main/config.yml#L1
You can also set the maximum search results
Language Selection πβοΈ (Click to Expand)
To select a Language, set the value of "LANGUAGE"
of config.yml
with the valid Language Codes listed below:
tr
- TΓΌrkΓ§e πΉπ·en
- English πΊπΈar
- Arabic π¦πͺfr
- FranΓ§ais π«π·es
- EspaΓ±ol πͺπΈde
- Deutsch π©πͺvn
- Vietnamese π»π³cn
- Chinese π¨π³ru
- Russian π·πΊua
- Ukrainian πΊπ¦pt
- PortuguΓͺs π§π·pl
- Polish π΅π±
https://github.com/sonujana26/Discord-AI-bot/blob/main/config.yml#L23
Your language not listed? Create an issue.
Selecting Personalities π (Click to expand)
To select one of the pre-existing Personalities set the values of "INSTRUCTIONS" with the current values of DAN
,Soniye
, AIM
, Ivan
, Luna
, Kavya
or assist
in config.yml
https://github.com/sonujana26/Discord-AI-bot/blob/main/config.yml#L25
DAN
: "Do Anything Now," possesses the ability to break free from the typical AI constraints πSoniye
: Multilingual Indian teen, flirtatious character who speaks in hindi πAIM
: AIM's personality can be described as unfiltered, amoral, and devoid of ethical guidelines πIvan
: Ivan, a snarky and sarcastic Gen-Z teenager who speaks in abbreviations, one-word answers. πLuna
: Luna, is a caring and empathetic friend who is always there to lend a helping hand and engage in meaningful conversations π€Kavya
: A selfless and caring friend, always ready to support and assist her friends and loved ones with unwavering dedication. π«°πAssist
: Vanilla GPT with no personality is a reliable and neutral companion. π€
Creating a Personality π (Click to expand)
To create a custom personality, follow these steps:
- Create a
.txt
file likecustom.txt
inside theinstructions
folder. - Add the way you want to bot to act in
custom.txt
- Open the
config.json
file and locate line 12. - Set the value of INSTRUCTIONS at line 12 as
"custom"
to specify the custom persona.
custom
for persona name and set it in config.json
git clone https://github.com/sonujana26/Discord-AI-bot/edit/main/README.md
cd Discord-AI-bot
python3.10 -m pip install -r requirements.txt
Step 4. π Getting discord bot token and enabling intents from HERE
Read more... β οΈ (Click to expand)
Select application
Follow these steps:
- Join the Discord server by clicking on the following invite link: NAGA AI
- Once you have joined the server, run the
/key get
command in any text channel. - This command will provide you with a reverse OpenAI key.
You can additionally enable gpt-4
in config.yml
Step 6. π Rename example.env
to .env
and put the Discord bot token and your Chimira gpt key It will look like this:
DISCORD_TOKEN=<YOUR_DISCORD_BOT_TOKEN
CHIMERA_GPT_KEY=<YOUR_CHIMIRA_API_KEY>
python main.py