discord.js-temporary-channelv13
v2.0.2
Published
This package create temporary voice channel for discord
Downloads
1
Maintainers
Readme
Discord.js-Temporary-Channel (Only for voice channel)
Discord: https://discord.gg/TfG5hep
QR
Important
Support ^[email protected] in version 2
If you using discord.js version < 12 please using version 1
Thanks to Pie from RDVN
npm i discord.js-temporary-channel
yarn add discord.js-temporary-channel
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: "* ",
});
//Private channel method (Only creator has access)
tempChannel.autoCreateChannelPrivate(client, {
userLimit: 10,
reason: "powered by ds112",
nameStartsWith: "[p] 3AT",
nameStartsWithTemp: "[p] *"
}); // You need to come up with your own implementation on how to invite another users to this channel.
client.login("YOUR_DISCORD_APP_TOKEN");