---
title: "Discord Bot integration for LuumenAI"
url: "https://www.luumen.ai/integrations/discord-bot/"
entity: SoftwareIntegration
category: "Communication"
audience: "SRE, DevOps, platform engineering, IT operations"
---

# Discord Bot integration for LuumenAI

Read your Discord server's setup, then change roles and rules with approval

## What LuumenAI can do with Discord Bot

LuumenAI connects to Discord Bot with OAuth 2.0 and exposes 167 tools (72 read-only · 62 write · 33 destructive). Reads answer immediately; writes are shown as a plan and require approval by default, configurable per tool by an administrator.

## Key facts

- Authentication: OAuth 2.0
- Tools available: 167 tools (72 read-only · 62 write · 33 destructive)
- Plan: available on all plans
- Category: Communication

## About Discord Bot with LuumenAI

Operations teams run a lot of their day in Discord. Luumen connects over OAuth2 and reads the parts that matter: guild settings, channel metadata, active threads, auto moderation rules, and command permissions. When something needs to change — a role assigned, a moderation rule created, an invite issued — the agent shows the exact call first and waits for your approval.

## Example tools

Read-only (72 in total):

- `DISCORDBOT_GET_ACTIVE_GUILD_THREADS` — Retrieves all active (non-archived) threads in a Discord guild that the bot can access.
- `DISCORDBOT_GET_APPLICATION` — Retrieves the full details of a Discord application by its application_id.
- `DISCORDBOT_GET_APPLICATION_COMMAND` — Retrieves a specific global application command by its application ID and command ID.
- `DISCORDBOT_GET_APPLICATION_ROLE_CONNECTIONS_METADATA` — Retrieves all role connection metadata records for a Discord application.
- `DISCORDBOT_GET_APPLICATION_USER_ROLE_CONNECTION` — Fetches the role connection object for the current user for a specified Discord application.
- `DISCORDBOT_GET_AUTO_MODERATION_RULE` — Retrieves the complete configuration of a specific auto moderation rule within a Discord guild.
- `DISCORDBOT_GET_BOT_GATEWAY` — Retrieves the WSS URL, recommended shard count, and session start limits for connecting a bot to the Discord Gateway.
- `DISCORDBOT_GET_CHANNEL` — Retrieves detailed metadata for a specific Discord channel by its channel_id.

Write and destructive (95 in total, approval required by default):

- `DISCORDBOT_ADD_GROUP_DM_USER` — Adds a user to a Discord group DM channel.
- `DISCORDBOT_ADD_GUILD_MEMBER` — Adds a user to a Discord guild using their OAuth2 access token (which must have guilds.join scope).
- `DISCORDBOT_ADD_GUILD_MEMBER_ROLE` — Assigns a role to a guild member.
- `DISCORDBOT_ADD_MY_MESSAGE_REACTION` — Adds an emoji reaction from the bot to a message.
- `DISCORDBOT_ADD_THREAD_MEMBER` — Adds a user to a specific, unarchived thread.
- `DISCORDBOT_BAN_USER_FROM_GUILD` — Permanently bans a user from a Discord guild, optionally deleting their recent messages.
- `DISCORDBOT_BULK_BAN_USERS_FROM_GUILD` — Bans up to 200 users from a Discord guild, optionally deleting their recent messages.
- `DISCORDBOT_BULK_DELETE_MESSAGES` — Bulk deletes messages in a Discord channel.

## Frequently asked questions

### How does LuumenAI connect to Discord Bot?

Authorize once with OAuth 2.0. Luumen lists the scopes each action needs before you approve the connection, and credentials never appear in the chat.

### Can LuumenAI change things in Discord Bot on its own?

Read actions answer immediately. Anything that writes is shown as a plan and requires approval by default, including the 33 actions classified as destructive. Administrators configure that per tool.

### Is there an audit trail?

Every call to Discord Bot — read or write, approved or declined — is recorded with the actor, the input, and the result.

Full page: https://www.luumen.ai/integrations/discord-bot/
