Skip to content

A Simple Discord ChatBot That Uses OpenAi Api!

Notifications You must be signed in to change notification settings

tfcmahmoud/TFC-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TFC AI - Discord Bot 🤖

A Simple Discord ChatBot That Uses OpenAi Api!

Images:

In Guild

In DM's

How To Modify ⚒️

  1. Make A Discord Bot And Enable Those 3 Intents:

Intents

  1. Get An Api Key From: https://openai.com/blog/openai-api.
  2. Configure The "config.json" File.

Example:

{
    "token": "ODYxKjU3AjY2DsYfMsszOTRw.GsT7sm.klolGG92uaou3w0dNTUzNTcxNTQ0MTQ0NTQz",
    "apiKey": "sk-SMUsJvA1j8TsYMAfNpSoh3slkgFJ26o2gVo26hhDHv2OgNiJe",
    "channelId": "1083026474715590666"
}
  1. Open The "install.bat" File
  2. Open The "run.bat" File To Run The Bot
  3. Enjoy!

Other Configurations ⚙️

let status = 'https://github.com/tfcmahmoud'

You Can Change The Github Link To Whatever You Want, So It Will Change The Bot Status!


let info = `You're A Friendly Discord Chatbot, And Your Name Is ${client.user.username}`

This Tells The Bot Information About Himself, You Can Tell Him Whatever You Want!

Support 💼

Twitter: https://twitter.com/tfc_mahmoud

Discord: TFC ! Mahmoud#1149

About

A Simple Discord ChatBot That Uses OpenAi Api!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published