Created
December 30, 2020 17:03
-
-
Save onepiecehung/02fc57ddc33ad09ab96df9e262038ad6 to your computer and use it in GitHub Desktop.
Simple example for discord.js-temporary-channel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Discord = require("discord.js"); | |
const client = new Discord.Client(); | |
const tempChannel = require("discord.js-temporary-channel"); | |
//just call API | |
tempChannel.autoCreateChannel(client, { | |
userLimit: 12, | |
reason: "powered by ds112", | |
nameStartsWith: "3AT ", | |
nameStartsWithTemp: "* ", | |
}); | |
client.login("YOUR_DISCORD_APP_TOKEN"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment