Skip to content

A Discord self-bot that accepts images, can generate images, remembers history, recognizes users and more...

Notifications You must be signed in to change notification settings

aliumutidiz/Gemini-Discord-SelfBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gemini - Discord SelfBot

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.

• Features

  • 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.

• Requirements

Ensure you have the following installed:


• Installation

Follow these steps to install and run the project:

  1. Clone the repository:
git clone https://github.com/aliumutidiz/Gemini-Discord-SelfBot
  1. Navigate to the project directory:
 cd Gemini-Discord-SelfBot
  1. Install the dependencies:

Install all the necessary packages with:

npm install
  1. 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.


• Usage

To start the bot, use:

npm start

Once started, the bot will be active and ready to use in your Discord server.


 

🚨 Important Note 🚨

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.


 

• Bot Related Images

Here are some images showcasing the functionality of the Gemini - Discord SelfBot:

  1. Direct Messages (DMs)
    Direct Messages
    Shows the bot interacting in Direct Messages (DMs).

  2. Group and Server Messages
    Group and Server Messages
    Demonstrates the bot's interaction in groups and server channels.

  3. Recognizing Users
    Recognizing Users
    Highlights the bot's capability to recognize users and address them by their names.

  4. /draw Messages
    Recognizing Users
    Shows the bot's ability to draw an image based on a given description.


• Bot Commands:

  • 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.

• Admin Commands:

  • 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.

Fork the repository.

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.

About

A Discord self-bot that accepts images, can generate images, remembers history, recognizes users and more...

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published