Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
About
People
Publications
Teaching
Resources
Research Blog
Wiki Functions
Recent changes
Help
Licensing
Page
Discussion
Edit
View history
Editing
Software Engineering (Fall 2025)
(section)
From CommunityData
Jump to:
navigation
,
search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== Bot Project Task #2 ==== ;Task: Version 1.0 of your bot ;Due: Friday, October 10, 11:59 p.m. Pacific time ;Deliverables: You are done with task 2 if you have cloned your group repository from our class organization, deployed a working Discord bot in your individual test environment, and deployed a working Discord bot in your team's deployment environment ('working' in this case means, able to play the simple 7-option rock-paper-scissors style game described in the tutorial). ;Turn In: Screenshots with a visible chat history which demonstrates that this is the case. '''Steps''' # Follow the tutorial at https://discord.com/developers/docs/quick-start/getting-started closely -- with one exception: '''ignore the git command in the tutorial''' and instead '''fork [https://github.com/CSS360-2025-Fall/discord-example-app our class organization version] of the Discord sample app''' described in the tutorial. This will mean we all start with the same code even if Discord makes updates, any changes you make will not go to Discord HQ, you are working with the repository associated with your group, and your work will be attributed correctly. # You will end up installing ngrok, npm, cloning the GitHub example, and establishing an identity with discord for your bot. ;Tips: * If you get stuck, walk through the tutorial line by line: it's detailed, and it works, but there are some subtleties. * I found it helpful to do this phase on a pair of large monitors so that I could have all my windows open side-by-side. * Be very careful with the API tokens and secrets: do NOT exchange them via public channels, do NOT commit them into GitHub, and do NOT paste them into AI tools or search engines! * Step 4 of the tutorial has you edit the sample project's code. If you get a 'didn't respond in time' error when testing your bot, perhaps it is because there's no response to the '/challenge' command in your project code? * Remember that your team only needs one deployment environment (screenshot that it works). * Feel free to use AI tools as a tutor or source for debugging any issues that come up. * You should consider your fork to be a 'hard fork' -- that is, I do not expect (or want...) you to create a pull request merging your group's code into the class's default code. You will be taking a very basic shell and heading in your own independent direction from the starting point I provide. * I am unlikely to be able to help you troubleshoot the particulars of your computer: my daily use machines all run Linux, and I only use Windows and MacOS for gaming and streaming shows. If you have limited familiarity with your operating system, don't have administrator access to your operating system, or have run into problems in CSS classes before in dealing with your computer, try using a Docker image from the CSS Remote Linux Lab: https://csswiki.uwb.edu/css-linux-lab-docker-image/
Summary:
Please note that all contributions to CommunityData are considered to be released under the Attribution-Share Alike 3.0 Unported (see
CommunityData:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)
Tools
What links here
Related changes
Special pages
Page information