My Discord Bot built on Python.
Note
目前 Python 3.13.2 已重新修正為可以執行 music 的功能了,還有很抱歉一直在改 Python 版本 (x
Python 3.13.2 has now been updated to support the music functionality again. Apologies for frequently changing the Python version (x
Warning
由於無法及時解決單一機器人管理多個伺服器的問題,現在建議每個伺服器使用一個機器人。
Unable to promptly address the issue of a single bot managing multiple servers, it is now recommended to use one bot per server.
Python 3.13.2
-
安裝必要套件
pip install -r requirements.txt
-
配置 config.json
botID你的機器人 IDroles身分組頻道設定adminID管理員身分組 ID
guilds伺服器頻道設定guildID伺服器 IDwelcomeChannelID歡迎頻道 IDleaveChannelID離開頻道 IDdynamicChannelCreatorID動態語音頻道 ID
valorants有關 Valorant 的設定attackerChannelID進攻方語音頻道 IDdefenderChannelID守備方語音頻道 IDmaps地圖agents角色
teacherSays我高中老師的語錄:)
Note
ID 找不到?
請至【Discord 設定】 -> 側邊欄【進階】 -> 打開【開發者模式】
接著右鍵點擊語音或文字頻道,就可以看到【複製頻道 ID】
- 若欲使用前綴指令,預設前綴字符為
=