Appearance
DISCORD_APPLICATION_ID 獲取
- 打開 👉 https://discord.com/developers/applications
- 點進你的 Bot 對應的 Application
- 進入左側 General Information
- 你會看到:
- Application ID
DISCORD_GUILD_ID 獲取
guildId = Discord 伺服器 ID(Server ID)
⚠️ 這個需要先開啟 Developer Mode
步驟 1:開啟 Developer Mode
- 打開 Discord
- 左下角 ⚙️ User Settings
- Advanced
- 開啟 Developer Mode
步驟 2:取得 Server ID
- 回到你的 Discord 伺服器
- 對伺服器名稱「右鍵」
- 點擊 Copy Server ID