- Jeongah Lee
- Patrick Do
- Mingchen Li
- Zeyuan Yang
pip install discord openai python-dotenv
-
Make a new server in Discord App
-
Create a new application Bot in Discord Website https://discord.com/developers/applications
Allow (1) PRESENCE INTENT (2) SERVER MEMBERS INTENT (3) MESSAGE CONTENT INTET in the settings -
Connect Server and Bot
Go to Setting in Discord Website -> Click OAuth2 -> Check 'bot' in OAuth2 URL Generator -
Open Discord and paste the URL in Step3
-
Make an .env file and fill your DISCORD_TOKEN
ex. DISCORD_TOKEN = "123abc"
-
Run bot.py
!quiz
- Starts a Q&A quiz where users select from multiple-choice answers.
!startgame
- Starts a multiple-choice trivia game where users compete to answer questions correctly and earn points.
!skillcheck
- Starts assessments with interactive quizzes
-
Tasks
- Q&A (Multi-Choice) Function & APIs
- Q&A (Multi-Choice) Data
- Checking Skills Function & APIs
- Checking Skills Data
- Gaming Function & APIs (Multi-Choice QA)
- Gaming Data
-
Issues
- Multi-Round Conversation with ChatGPT