Skip to content

DisAI is a discord bot which uses Google's Gemini API to extract data.

Notifications You must be signed in to change notification settings

ashutoshswamy/DisAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DisAI

DisAI is a discord bot which uses Google's Gemini API to extract data.

Banner

Commands

  • /test - This command is just a test command to check whether the bot is working or not.

  • /prompt - This command is for asking questions to the bot so the bot can give you answers by extracting the data using the Google's Gemini API.

  • /ping - This shows the bot's latency and uptime.

How to create your own bot like this?

You can create your own bot like this bu just following these simple steps :-

  • First go to Discord Developer Portal and create a new application and then do to the Bot section and generate a token (this is a secret token so don't share it with anyone)

  • Then paste the token and application ID in the config.json file

  • After that go to Google AI Studio and then generate an API key and paste that also in config.json file (this is also a secret key so don't share it with anyone)

  • Now we have to invite this bot to a server so you can use all the commands, so now in the Developer Portal go to OAuth2 section and select the bot and application.commands scopes and then select Administrator in permissions

  • Now a link will be generated just copy that link and paste it in a new browser tab/window and now you can invite your bot to any server you want (this only includes the servers that you own and the servers in which you have authority)

  • Then first run the build.js file to create the application commands and then run the index.js file to get the bot online

  • Once the bot is online you can use all the commands in the Discord server in which your bot is present

How can you use DisAI?

Just join this server using this link - Click Here

Or just invite this bot to your server - Click Here

Screenshots

Screenshot 2024-07-04 231736 Screenshot 2024-07-04 232207

Developer Info

  • Name: Ashutosh Swamy
  • GitHub: ashutoshswamy
  • Discord: ashutosh
  • X: ashutoshswamy_