This is the bot for the official Skyline Emulator Discord Server
We needed a bot for managing our Discord server with specific features. Skyline Bot was created so that we could effectively moderate and help people in an efficient manner and meet the special needs of managing an emulation server with potential for integration with the application in the future.
These are any events emitted by the Discord API that are visible to the bot, such as:
interactionCreate
)ready
)messageCreate
)guildMemberUpdate
)These are implemented in the messageCreate
event file. The functions added are run for every message that the bot recieves.
Skyline Bot uses Discord interactions (slash commands, modals, etc.) to provide users with a simple way of communicating with the bot.
We use Discord.js for writing the bot, a module that allows the bot to connect with the Discord API through Node.js. Install Node.js to develop or host an instance of Skyline Bot.
Download the code and extract it to a folder. Run npm i
from inside the project folder to install the necessary modules and dependencies that allow Skyline Bot to run.
To start the bot, run npm run tscw
. This is a script that will allow users to make changes to the code that will be detected and recompiled as they are made.
Anytime a command's data
property is modified or a new command is created, use npm run update
to update the command list.