Skip to content

dddk1ddd/j0nez

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

j0nez v.011z

OpenAI API Discord Bot http://www.phatkid.art

  • Responds to mentions with normal conversation.
  • Remembers replies for basic short term memory.
  • Responds to edited messages.
  • Generates AI Images in chat from prompts.
  • Morphs images into specified number of iterations.
  • Combines an image and an image mask to create new images from prompt.
  • Generates ASCII art from PNG files.
  • Help system.
  • Color-coded console log and rotating 6x8mb .log files.

Getting Started:

Create a file called '.env' in the folder with j0nez.py. The file should only contain these two lines:

  • TOKEN='YOUR_BOT_TOKEN'
  • KEY='YOUR_API_KEY'

Replace YOUR_BOT_TOKEN with your Discord Bot Token. Replace YOUR_API_KEY with your OpenAI API Key.

Both can be obtained from their respective developer portals.

Usage:

Commands start with '!'. See !help

Bug Fixes:

Overall cleaned the code and organized into multiple files. Optimized for token cost.


From ChatGPT: "Phat Kid is an experimental electronic music artist who has a diverse and eclectic style that incorporates elements of various genres, including hip hop, techno, and ambient music. His music is characterized by its experimental and unconventional approach, and he often uses unconventional instruments and production techniques to create unique and experimental sounds. Phat Kid's music is highly experimental and often incorporates elements of improvisation and chance, making each of his performances and recordings unique. His music is often described as being abstract and avant-garde, and it explores a wide range of themes and emotions."