|
Give personality to a virtual friend in your gaming server |
|
Get answers to random trivia from your PC or phone (Discord Mobile) |
|
Create your very own friendly personal assistant |
https://discord.com/developers/applicationshttps://platform.openai.com/signuphttps://nodejs.org/en/https://git-scm.com/downloadsgit inithttps://github.com/Lane-G-Smith/Discord-Bot-Vanilla-JS-GPT-4.gitnpm installTOKEN=your_unique_Discord_bot_token_hereOPENAI_API_KEY=your_unique_OpenAI_API_key_hereModify a few lines of the code (46-59, self-explanatory when you look at it) to personalize the functionality
The characteristics of your AI and how to answer questions, example questions, example answersreplace "Your-Trigger-Word" with whatever you wantnode index.jsnpm install pm2 -gRun your bot locally using pm2 https://pm2.keymetrics.io/
pm2 start index.jsCongratulations, your bot should now be live & confirmation should be logged in the terminal. Use your personal link from the Discord developer portal to invite your bot to a Discord server
https://discord.com/developers/applications