Brining Infinite Flight to Discord. Check out our website. Also, I want to give credit to velocity23 for his Infinite Flight API Typescript library and Kevin Novak for providing the Discord Bot Typescript Template.
Skylink-IF is an Infinite Flight Discord Bot that is actively being developed. How can we make Infinite Flight more fun for you? Put your ideas here: https://forms.gle/NM17sCK82Wn75K337
- Copy example config files.
- Navigate to the
configfolder of this project. - Copy all files ending in
.example.jsonand remove the.examplefrom the copied file names.- Ex:
config.example.jsonshould be copied and renamed asconfig.json.
- Ex:
- Navigate to the
- Obtain a bot token.
- You'll need to create a new bot in your Discord Developer Portal.
- See here for detailed instructions.
- At the end you should have a bot token.
- You'll need to create a new bot in your Discord Developer Portal.
- Modify the config file.
- Open the
config/config.jsonfile. - You'll need to edit the following values:
client.id- Your discord bot's user ID.client.token- Your discord bot's token.
- Open the
- Install packages.
- Navigate into the downloaded source files and type
npm install.
- Navigate into the downloaded source files and type
- Register commands.
- In order to use slash commands, they first have to be registered.
- Type
npm run registerto register the bot's commands.- Run this script any time you change a command name, structure, or add/remove commands.
- This is so Discord knows what your commands look like.
- It may take up to an hour for command changes to appear.
- Normal Mode
- Type
npm start. - This runs the bot directly with Node and without shards.
- Use this mode if you don't need sharding.
- Type
- Dev Mode
- Type
npm start:dev. - This runs the bot with ts-node-dev.
- Use this mode for general development.
- TypeScript files are compiled automatically as they are changed.
- Type