Skip to content

DISCORD_APPLICATION_ID 獲取

  1. 打開 👉 https://discord.com/developers/applications
  2. 點進你的 Bot 對應的 Application
  3. 進入左側 General Information
  4. 你會看到:
    • Application ID

DISCORD_GUILD_ID 獲取

guildId = Discord 伺服器 ID(Server ID)

⚠️ 這個需要先開啟 Developer Mode

步驟 1:開啟 Developer Mode

  1. 打開 Discord
  2. 左下角 ⚙️ User Settings
  3. Advanced
  4. 開啟 Developer Mode

步驟 2:取得 Server ID

  1. 回到你的 Discord 伺服器
  2. 對伺服器名稱「右鍵」
  3. 點擊 Copy Server ID

邀請discord bot 到群組

邀請discord bot 到群組