As of 12/12/24 SCIPE has been integrated into the EPICS Teambuilder Application
- Convert SCIPE to typescript - Stephan & Bao
Finished
- Build relational datastructure functions()
Finished
- Test relational datastructures with dummy data
Finished
- Convert SCIPE slash command functions to API calls
Finished
- Fix TeamBuilder Website & add DOCUMENTATION FOR THE LOVE PLEASE
[Lead Dev] - Alex Quigley
[Senior Dev] - Stephan Antonyuk
[Senior Dev] - Bao Nguyen
[Instructor] - Jeanie Arid
[Instructor] - Taz Nakonecznyj a.k.a. The Tazmanian Devil
[Mentor] - Sagar Dhaduk
This is the basic installation needed to develop and run SCIPE
- Install these dependencies: (If having issues, follow the Setup Tutorial 1 video)
# discord.js - Discord API for JavaScript
npm install discord.js
# nodemon - For auto-updating the bot instead of needing to re-start it all the time
npm install -g nodemon
# dotenv - For making environment variables, added security
npm install dotenv
- Clone the SCIPE GitHub repository to your computer. Once done, add a new file called '.env' to use for storing IDs 2. Create three values as so:
*[NOTE]: If you are not planning on running SCIPE from your local machine then you can skip this step
TOKEN = <Bot Token>
GUILD_ID = <Server ID>
BOT_ID = <Bot ID>
- Initalize package.json by opening the VS code terminal and run
npm init -y
. This will build the package.json file, open it and make sure it looks just like this:
*[NOTE]: If you already have the package.json file in your local repository then you can skip this step
{
"name": "scipe",
"version": "1.0.0",
"description": "S.C.I.P.E. Smart Computer Interface for Protocol Execution",
"main": "src/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"discord.js": "^14.16.2",
"dotenv": "^16.4.5"
}
}
- Assuming everything is correct, the bot should startup when you run
npm start
orts-node src/index.ts
in the terminal. 3 4
Footnotes
-
NOTE: Getting the
TOKEN
andBOT_ID
values require you to have admin access to a constructed bot via Discord Dev
TheTOKEN
value is taken from Discord Dev. You can find it located under theBot
tab.
TheGuild_ID
can be found by right-clicking the Discord server's name and clickingCopy Server ID
TheBot_ID
can be found by right clicking the bot in discord and clickingCopy User ID
. Alternatively it can also be found in the URL of the bot on Discord Dev ↩ -
If
nodemon
is returning an error, it means there is an error in the code, not that the setup is incorrect. ↩ -
SCIPE will output:
SCIPE (Skippy)#7016 is online.
to the terminal when the bot is running correctly. ↩