Skip to content

Repository files navigation

discordBotOpenAI

a discord bot that uses the GPT-3 model to respond to human prompts and return answers or images.

This bot was developed using NodeJS and Typescript.


Topics 📖


Commands 👨‍💻

  • /ajuda - help command, lists every other command
  • /chat - Allows the user to talk to the bot and ask any question

Features 🛠✨

Answer any question 📑

Users can ask the bot a question with the /chat command and get a answer out of chatGPT-3 without the need of leaving discord.


Configuring the bot 👷‍♂️

Configurando .env

The bot will work only if you create a .env file and fill each field correctly with your info.

Installing dependencies

Inside the project run:

yarn

Registering discord commands:

discord.js guide

In order for the commands to work on the server, they need to be activated with the script: yarn deploy-command

The script will update the commandList for every server that the bot is currently in. This change may take a few minutes. You need to run it everytime that you update any command on deploy-command.js

Dev mode

yarn dev

Production mode

yarn start


Contact 💼

Kauã Steliano
Name

Kauã Steliano

Twitter: @Steli4nok LinkedIn: Kauã Alexandro Steliano E-mail: stelianok@gmail.com Github: Stelianok

About

a discord bot that uses the GPT-3 model to respond to human prompts and return answers or images. This bot was developed using NodeJS and Typescript.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages