Gemini - Discord SelfBot is a simple Discord self-bot application that integrates with Gemini to create a chat application. This bot allows users to interact from anywhere on Discord with a personalized experience.
- Chat Anywhere: Interact with the bot in DMs, groups, or servers. To use the bot in servers, you must mention it.
- Image Sending: You can send images to the bot directly.
- Drawing Requests: It can do that when you ask it to draw something.
- Drawing Requests 2: By adding
/draw
at the beginning of your message, you can request the bot to draw an image based on your description. - Memory: The bot remembers the last 100 messages from channels it interacts with.
- Personalization: The bot can recognize users and address them by their names.
- EpicGames Free Games: It can tell you about the free games on Epic Games. (I don't know why I added that.)
- Random screenshot: You can ask it to give you a random screenshot. :3
- Block Users: The bot can block people it doesn't like by itself.
- Unblock Users: Bot can unblock users after calming down, as long as the issue no longer bothers it..
- Voice Messages: If you want, the bot can send messages in an audible way.
Ensure you have the following installed:
Follow these steps to install and run the project:
- Clone the repository:
git clone https://github.com/aliumutidiz/Gemini-Discord-SelfBot
- Navigate to the project directory:
cd Gemini-Discord-SelfBot
- Install the dependencies:
Install all the necessary packages with:
npm install
- Set up environment variables:
Copy the .env.example file to .env:
cp .env.example .env
Edit the .env file to include your Discord bot token and any other required settings.
To start the bot, use:
npm start
Once started, the bot will be active and ready to use in your Discord server.
To change the bot's name, the person it will obey, or aspects of its personality, you need to edit the variables in the src/Config/CreateBasePersonality.mjs
file according to your preferences. This customization is essential for tailoring the bot to your specific needs.
Here are some images showcasing the functionality of the Gemini - Discord SelfBot:
-
Direct Messages (DMs)
Shows the bot interacting in Direct Messages (DMs). -
Group and Server Messages
Demonstrates the bot's interaction in groups and server channels. -
Recognizing Users
Highlights the bot's capability to recognize users and address them by their names. -
/draw Messages
Shows the bot's ability to draw an image based on a given description.
- Chat: Send messages directly to the bot or mention it in a server to start a conversation.
- Send Images: Directly send images to the bot.
- /draw: Use
/draw
at the start of a message to request an image based on your description.
- clearuserdata: Use this command in any channel to delete the data of users in that channel.
- clearchatdata: Use this command in any channel to delete the chat history in that channel.
- clearchanneldata: clearuserdata + clearchatdata
- blacklist add <channelID/UserID> : Commands from the added channel or person are ignored.
- blacklist remove <channelID/UserID> : I'm too lazy to explain.
- trigger add <Value> : You can customize what messages the bot will respond to using this command. For example, if you add "hi", the bot will respond to any message that contains "hi".
- trigger remove <Value> : Yes.
Create a new branch (git checkout -b feature/YourFeature). Commit your changes (git commit -m 'Add YourFeature'). Push the branch (git push origin feature/YourFeature). Open a Pull Request.