中文說明
想要在Discord裡面有個不被打擾或是不想給別人加入的語音頻道 但是又不想麻煩管理員為了你而特別開設頻道? 或是語音地區出問題? 想更換但管理員都不再線上 又或者有破壞規矩、故意騷擾的用戶在,想要將他踢出語音頻道?
這Bot剛好可以達成您的需求! 私人語音包廂可以讓一般使用者無需特別權限就能建立語音頻道
並且有獨立的控制專區,可以讓開房的房主做到:
- 踢人
- Ban人(對某人隱藏語音頻道)
- 隱藏頻道
- 頻道上鎖 (看的到 但無法加入)
- 自訂頻道名稱
- 更改語音地區
- 白名單
- 限制人數
- 禁音其他人 (對後來加入的有效)
對伺服器主人有:
- 限定預設身分組
- 一鍵清除所有包廂
- 房主離開超過3分鐘自動清除語音頻道
- Log紀錄
除了特定指令(管理員刪除、呼叫控制台) 其餘都是使用 Discord 互動系統 (按鈕、表單、選單)
- 下載原始碼
- 完成
config.json
所需要的資料 ( Token、guild、HUBvcChannelID、DefaultRoleID、categoryID、owners ) - 安裝必要元件
npm install
- 啟動bot
node tempVCs.js
靈感來自Autocode 平台上的 MeltedButter77 所做的 Temp VCs
This BOT allows the average user to create channels, edit names, numbers, visibility,etc. without the need for administrator intervention!
And with the independent control interface, users can do:
- Kick the user out of the voice channel.
- Block the user from the voice channel.
- Set a maximum number of users.
- Change the region of the voice channel.
- Change the name of the voice channel.
- Set a whitelist.
- Mute new users who join after the mute has been applied.
- Hide the channel.
- Lock the channel.
Server owners can:
- Set the default role.
- Clear all temp vcs
- Log
And all temp vc will automatically clear the voice channel when the user leaves for more than 3 minutes
- Download Repository
- Fill in the necessary information in
config.json
( Token、guild、HUBvcChannelID、DefaultRoleID、categoryID、owners ) npm install
node tempVCs.js
This program is inspired by Temp VCs made by MeltedButter77 on the Autocode platform
version: "3.9"
services:
DiscordWelcomeBot:
image: "ghcr.io/interfacegui/discord-temp-vc-bot:latest"
environment:
TOKEN: "YOUR Discord TOKEN"
SERVER_ID: "YOUR Discord ServerID"
CATEGORY_ID: "Your category ID"
HUB_ID: "Your HUB Voice Channel ID"
ROLE_ID: "Defualt role | if you use @everyone pls put server id here"
PREFIX: "["
OWNERS: "123456,123456 "
-
TOKEN
Discord bot token -
SERVER_ID
Your server ID -
CATEGORY_ID
Category ID -
HUB_ID
Hub voice channel ID -
ROLE_ID
Defualt role
VC Show/Lock will use this role
If you want to use@everyone
please place the ServerID here -
PREFIX
The command perfix to create Hub text. -
OWNERS
Administrator ID If there are more than one, please separate them with a comma(,
)
Note: There must not be any spaces!