Skip to content

The-hyphen-user/alucard

Repository files navigation

discord bot that responds with openai's chatgpt responses

also able to scheduel api look ups to present info in chat channels
currently set to epic free games weekly promotions
has built in logging with winston

instructions to use:

Create a discord bot using the developer portal at discord https://discord.com/developers/applications
create a discord bot and create a TOKEN (Under the Bot section)
create a url using the scopes bot and applications.commands and the bot permissions administrator (might work with less permission i havent tried)
add the bot to the discord server using the url(must have admin access)

git clone the repo
$git clone https://github.com/The-hyphen-user/alucard.git

make a .env file with
BOT_TOKEN for your discord bot token
GUILD_ID for the discord server you would like it to work in
OPENAI_API_KEY for your api key from openai
EPIC_GAMES_CHANNEL_ID for the channel you would like promotions sent to

build the docker container $docker build -t .

run the docker container $docker run
container name can be whatever you want it to be once set up you will have access to the /chatGPT and /image commands in any channel

Example of chat gpt response
Initial request someone submits
chatGPT initial
imediate response
Imediate response
Full response a few seconds later that replaces the imediate response
full answer

Example of the dall-e image creation from OpenAI
plant image dalle

Example of a free game promotion notification
payday

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published