Skip to content

[UPDATE] Discord Bot with free simple api and AI functions, with built in responses, help command, triggers and more

Notifications You must be signed in to change notification settings

Hue-Jhan/Discord-Free-API-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord-Free-API-Bot

Discord Bot with free simple api and AI functions, with built in responses, help command, triggers and more. Made in python. Update: added ai stable diffusion model using Prodia api

HOW TO USE: Simply create a discord bot, upload this codes to your specified folder. You will need to make an .env file and specify your bot AuthToken by typing DISCORD_TOKEN=xxxxxxxxxxxxxxxxxxxx

💻 API FUNCTIONS

The API functions i added are quite simple, i wanted to add some image altering ones but every api uses different kind of classes n stuff so i got bored, also theres Jayx and NotSoBot for advanced image altering. I added a prodia api command that uses the prodia stable diffusion model, allowing you to generate images based on a given prompt.

Here are the functions i added:

  • !h: Lists all the commands, do not confuse it with !help;
  • !ai (string): Generates an image based on your prompt (Prodia ai api), API
  • !dog: Gives u a random dog image, API
  • !achiev (string): Type something and it gives u a minecraft achievemnt image of that, API.
  • !drake (string) (string): Type something and it gives u a drake meme image of that, API.
  • !supreme (string): Type something and it gives u a supreme image of that, API
  • !ph (string) (string): Type something and it gives u a pronhub image of that, API
  • !meme (memename) (string) (string): Choose the meme, what to type and it will give u the pic, API
  • !joke: Gives u a random unfunny joke, API
  • !urban (string) (number): Type something and it gives u the first 3 urban definitions of that, you can specify with (number) the exact result you want, API
  • !insult (string): Gives u a random insult, API

You can find examples of this commmands being executed in media folder, here are some examples:





🔧 Other Functions

  • The bot possesses triggers you can customize in the responses.py folder (WARNING NSFW CONTENT). You can customize the bot command to receive personal messages instead of receiving the answer in the channel where you asked it. The triggers include a rolling dice function and a random age function

  • The bot has also a customizable status

I wanted to add fooocus-ai stable diffusion model but its api turned out to be poorly documented and hard to understand : ( so i had to use prodia api, which isnt uncensored but its not that bad either. I might turn it into an android app sometime in the future...

About

[UPDATE] Discord Bot with free simple api and AI functions, with built in responses, help command, triggers and more

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages