DJS Tutorial Adjustments:
- Ban Reason - Example Here
- SourceProperly
- FS / JSON (Promises)
- Fortnite: suggestion | example
DJS/API Related:
// Welcome to my gist! This is how you can create an invite tracker using JavaScript and Discord.JS! | |
// First we are going to statt off in our ready event. | |
// Create a new Collection called guildInvites and add it to your client | |
// client is the new Client you created in your main file. If you're using an event handler, make sure to pass the client into this file. | |
const { Collection } = require("discord.js"); | |
// Collection is an enhanced Map which we are going to save our invites to. | |
const guildInvites = new Collection(); | |
client.invites = guildInvites; |
DJS Tutorial Adjustments:
DJS/API Related: