Functionally identical to Orange Cone, adapted for use in Discord. Uses the Discord.js library.
This bot requires a config.json
file in the root directory to load environment variables. The variables used are:
token
: Discord bot token to login toprefix
: String to prepend to a command for the bot to handle commandsguildID
: ID of the server that this bot will be used inrulesChannel
: The Rules or Welcome channel that contains the message where bot will monitor for reactionsannouncementsChannel
: Announcements channel where bot will ignore any commandsreactMsg
: ID of the message in the Rules or Welcome channel where bot will monitor for reactionspollsChannel
: ID of the channel where polls and their results will be sentspreadsheetID
: Google Sheets ID that this instance of bot uses to read order statuses
Other files to create before using the bot:
emails.json
- fill with empty object {null}phones.json
- fill with empty object {null}polls.json
- fill with empty object {null}soda.json
- fill with empty array [null]links.json
- fill with the following key-value pair:affiliate
: link to document for affiliating with a school on sae.orgcalendar
: link to team calendarcar
: link to current documentation directory of the carcheckin
: link to check in formdesignlog
: link to design logdrive
: link to the team's Google Drive foldergantt
: link to the gantt charthandbook
: link to the latest revision of the Member Handbookminutes
: link to the folder of meeting minutesmsds
: link to the folder containing MSDS documentsorder
: link to the ordering formpurchases
: link to member facing purchasing spreadsheetlibrary
: link to the team's libraryroster
: link to the team rosterrules
: link to the latest FSAE rulebookwebsite
: link to the team's website
test