Skip to content

Commands ​

All commands are slash commands unless noted. Type / in a text channel to see what is available in your server. Ogma has no right-click (context menu) commands.

Your dashboard includes a searchable Discord commands page (sidebar → Discord commands) for each server. It lists every command, who can run it, whether it is available to your account, and per-command options. This docs page is the static reference; the dashboard page filters to what you can run today.

New to Ogma? Follow the setup guide first — it tells you exactly which commands to run and when.


Running a command ​

  1. Click into the message box of the channel you want to run the command in.
  2. Type / — Discord lists the commands you can use there.
  3. Type a few letters of the command name (for example clo for /close) and pick it from the list, or press Tab.
  4. Fill in the options Discord prompts you for, then press Enter.

Discord asks for required options first and moves you through them as you press Tab. Optional options are listed after the required ones — skip them by pressing Enter once the required fields are filled.

Options come in a few shapes:

Option typeHow you fill itExample
TextType freely/note content:Customer confirmed refund by email
ChoicePick from a fixed list Discord shows you/close reason:Resolved
UserStart typing a name and select the member/add user:@sam
NumberType a whole number within the allowed range/close reason:Resolved timeout:60
SubcommandPick the second word from the list/ogma-config setup

Some commands are grouped under a parent name — /ogma-config and /ogma both have subcommands. Type the parent name and Discord offers the subcommands.

Who sees the reply ​

Most commands reply only to you (Discord calls this an ephemeral reply, shown with an Only you can see this label). A few post into the channel where everyone can read them.

ReplyCommands
Only you/ogma-config, /ogma autoconfig, /ogma history, /ogma dev, /close, /claim, /unclaim, /keepalive, /summarize, /note, /add, /remove, /rename, /lockdown, /unlock, /deescalate, /ingest, /delete-my-data
Everyone in the channel/ask, /ogma askgpt, /macro, /ping, /ogma privacy, /ogma terms

/macro is public on purpose — it posts the canned response for the customer to read. /note is private on purpose — the customer never sees it. /lockdown and /unlock reply privately, but Ogma also posts a short notice in the ticket so everyone there knows access has changed.

Where a command works ​

  • Ticket commands must be run inside an open ticket channel. Run one elsewhere and Ogma replies that the channel is not an open ticket.
  • /close is the exception — only run it inside a ticket. In any other text channel, Ogma treats the channel as a ticket when a staff member runs /close: it archives a transcript and deletes the channel.
  • Setup, knowledge, AI, and privacy commands work in any channel Ogma can see.
  • Every command needs to be run in a server. Ogma's commands do not work in DMs, even though the bot answers DM support conversations.

Commands that take a moment (closing a ticket, summarizing, asking the AI) show Ogma is thinking… first, then replace it with the result.

If a command does not appear ​

What you seeFix
The command is missing from the / listOgma's commands are registered with Discord globally and can take up to an hour to show up after the bot joins or updates. Press Ctrl+R (Cmd+R on Mac) to reload Discord.
The command is greyed outYour server or channel restricts it — check Server Settings → Integrations → Ogma, where Discord lets admins limit commands by role and channel.
"You need Manage Server permission…" or "Only staff can…"You are missing the Discord permission or role for that command. See Who can use what.
"This channel is not an open ticket."The command only works inside an open ticket channel.
Ogma replies with a list of missing permissionsOgma's own bot role is missing something. Go to Server Settings → Roles → Ogma and enable what it lists — usually Manage Channels.

Who can use what ​

Staff roles and management roles are configured in dashboard Settings → Team & bot handoff.

Staff commands differ in whether Discord permissions count as staff. Some accept Manage Channels or Manage Server, so server admins can use them without giving themselves a staff role; the rest need a configured staff role.

CommandWho can run
/close, /keepaliveConfigured staff role, Manage Channels, or Manage Server
/claim, /unclaim, /note, /summarize, /macro, /deescalateConfigured staff role only — Manage Channels or Manage Server alone is not enough
/add, /renameTicket owner, configured staff role, Manage Channels, or Manage Server
/removeConfigured staff role, Manage Channels, or Manage Server — or the ticket owner, for people who were added to their ticket
/ask, /ogma askgpt, /ogma historyConfigured staff role, Manage Channels, or Manage Server
/lockdown, /unlockManagement role, Manage Server, or the server owner. Management roles must be configured first, even for admins.
/ogma-config, /ogma autoconfig, /ingestManage Server only
/delete-my-data, /ping, /ogma privacy, /ogma termsAnyone

If your staff cannot run /claim or /note, they most likely have Manage Channels but no staff role. Assign a staff role in Settings → Team & bot handoff.

People you have added to your dashboard Team are checked against their team permissions instead of their Discord roles: staff commands need write access to Tickets, and /lockdown and /unlock need Tool action approvals. See Team.


Setup commands (run these first) ​

These require Manage Server (server admin).

CommandOptionsWhen to use it
/ogma-config setup—New server — opens a guided form to create channels, save settings, and post the ticket panel
/ogma-config link—Existing channels — auto-connects #support, transcript channels, and ticket categories you already have
/ogma-config view—Any time — shows linked channels, setup status, enabled ticket types, staff reply settings, and a link to dashboard Settings
/ogma autoconfig—After dashboard changes — creates or updates Discord channels from settings you saved on the website

/ogma-config setup opens a modal (a pop-up form) rather than replying with text. Fill in the fields — ticket types, start channel name, staff role names, auto-learn, and transcript retention — and press Submit; Discord closes the form and Ogma reports what it created.

/ogma-config link tells you what it connected and what is still missing, so you can follow up with /ogma-config setup or map channels manually in the dashboard channel migrator. Channels already sitting in a linked ticket category are adopted as open tickets.

Permission note ​

Ogma needs Manage Channels on its bot role to create channels and tickets. If something is missing, the bot replies with a list of permissions to fix — go to Server Settings → Roles → Ogma and enable them.


Ticket commands ​

Use these inside an open ticket channel.

CommandOptionsWho can useWhat it does
/closereason (required, pick from a list), note (optional text, up to 500 characters), timeout (optional, 1–10080 minutes)Staff role, Manage Channels, or Manage ServerCloses the ticket, archives a transcript, sends the user a rating DM, and removes the channel
/claim—Staff roleAssigns the ticket to you so others know you are handling it
/unclaim—Staff roleReleases your claim so another staff member can pick it up
/keepalive—Staff role, Manage Channels, or Manage ServerExempts the ticket from inactivity warnings and automatic closure
/summarize—Staff roleGenerates an AI summary of the ticket conversation (private reply, staff only)
/notecontent (required text, up to 2000 characters)Staff roleAdds an internal note (visible in the dashboard, excluded from user-facing transcripts)
/deescalate—Staff roleHands an escalated ticket back to the bot — normal AI handling resumes on the customer's next message
/adduser (required)Ticket owner or staffAdds someone to the private ticket channel
/removeuser (required)Staff, or the ticket owner for people added to their ticketRemoves someone from the ticket channel
/renamename (required text, up to 100 characters)Ticket owner or staffRenames the ticket channel
/lockdown—ManagementRestricts the ticket so only the customer and management roles can access the channel
/unlock—ManagementLifts lockdown and restores normal staff access

The ticket channel also has buttons — Close ticket, and Request human if you have enabled it. See How tickets work.

Closing a ticket ​

/close requires a reason, chosen from a list Discord shows you:

  • Resolved
  • Duplicate
  • User unresponsive
  • User left server
  • Out of scope
  • Spam / abuse
  • Other

You can add an optional note (up to 500 characters). The ticket owner receives a CSAT rating DM after closure when one has not already been submitted.

By default the channel is deleted as soon as the ticket closes. Add the optional timeout option to keep the channel around first:

/close reason:Resolved timeout:60

timeout is in minutes, from 1 up to 10080 (7 days). Ogma confirms the delay in its reply and removes the channel when the time is up. Use it when the customer may reply again, or when your team wants a chance to re-read the channel before it disappears. The transcript is archived either way — see Data & retention for how long transcripts are kept.

Claiming a ticket ​

/claim assigns the ticket to you. The assignment is the signal your team reads — in Discord your reply tells everyone who is handling it, and in the dashboard Command center the ticket moves out of the Unclaimed filter and shows you as the assignee straight away. Staff can also claim and release from the Command center itself, so a ticket claimed in Discord shows as claimed on the website and the other way round (Tickets).

What claiming does not do: it does not change who can see the channel, and it does not stop Ogma replying. The bot goes quiet because a staff member sent a message, not because someone claimed the ticket — see staff reply behaviour.

SituationWhat happens
Nobody has claimed the ticketYou become the assignee
You already claimed itOgma confirms; nothing changes
Someone else claimed itYour claim replaces theirs — there is no confirmation step, so check the current assignee before taking a busy ticket
The ticket is locked downOnly management can claim it
Claiming is turned off for the server"Ticket claiming is disabled in this server."

/unclaim releases a ticket back to the queue, and only the assignee can run it:

SituationWhat happens
You are the assigneeThe ticket returns to Unclaimed
Someone else is the assignee"You can only unclaim tickets assigned to you"
Nobody has claimed it"Ticket is not claimed"

You do not need to /unclaim before closing. The assignee stays recorded on the closed ticket, so the dashboard still shows who handled it.

Claiming can be switched off for the whole server in Settings → Tickets → Allow claiming tickets. /unclaim keeps working so already-claimed tickets can still be released.

Keeping a ticket open ​

/keepalive exempts one ticket from inactivity auto-close.

When Auto-close inactive tickets is on in Settings → Tickets, Ogma closes quiet tickets on a timer — with the default settings, a warning message after 2 days and closure at 3 days, or 7 days for escalated tickets. Each server sets its own numbers.

Running /keepalive on a ticket:

  • stops the warning message from being posted,
  • stops the ticket ever being auto-closed for inactivity.

Use it when a ticket is legitimately slow — waiting on a refund to clear, a fix to ship, or a customer who told you they will be away — and you do not want Ogma closing it out from under you.

Two things to know before you rely on it:

  • It cannot be switched back off. There is no /keepalive off; the exemption lasts for the life of the ticket. Close the ticket with /close when you are done with it, or it stays open indefinitely.
  • It is per ticket, not per server. Running it in one channel changes nothing anywhere else. To change the timer for everyone, edit Settings → Tickets — see How tickets work.

Running it twice is harmless — Ogma replies that the ticket already bypasses auto-close. Tickets waiting on your team are not auto-closed by default, so /keepalive is mainly for tickets that are waiting on the customer or on something outside Discord.

Summarizing a ticket ​

/summarize reads the ticket conversation and replies — privately, to you only — with a five-part briefing:

  • Customer request — what they actually asked for
  • What was tried — steps taken so far
  • Verified issue — what has been confirmed
  • Current blocker — what is holding the ticket up
  • Needs staff attention — what a human has to do next

It is built for picking up a ticket you have not been following: a long escalated thread, a handover between shifts, or a ticket that has been sitting overnight. Fields with nothing to go on come back as Not yet determined rather than a guess.

The summary covers the most recent stretch of the conversation and needs at least one message to work with. It uses your plan's AI tokens (tracked for billing like any other AI reply). If token limits are reached or the model is unavailable, Ogma says it could not generate a summary — try again shortly.

Internal notes ​

/note records a note against the ticket that the customer never sees.

Notes appear on the ticket's timeline in the dashboard alongside the messages, next to CSAT feedback and metadata (Tickets). They are excluded from the transcript that gets archived and posted to #ticket-transcripts, so writing "customer is a repeat chargeback risk" in a note does not put it in a document the customer can be sent.

Use notes for context that should outlive the channel: what you checked, who you escalated to internally, why you closed a ticket the way you did. Each note holds up to 2000 characters — post several for longer handovers. Empty notes are rejected.

Shortcut: instead of the command, send a message in the ticket that starts with -# (for example -# checked Stripe, no charge found). Ogma saves the rest of the message as an internal note and deletes your message from the channel.

Notes — by command or shortcut — require a configured staff role, not just Manage Channels.

Adding and removing people ​

/add fails for bots and for anyone who already has access. /remove never removes the ticket owner. A ticket owner can remove people who were added to their ticket, but only staff can remove anyone else.

Editing the channel's own permissions works too. If you add or remove someone through Channel settings → Permissions, Ogma picks the change up and records it against the ticket, so the person shows up in the dashboard and stays put through restarts and staff-role changes. Members added while Ogma was offline are recorded the next time it starts up. /add and /remove do the same thing in one step and are still the quicker route.

Anyone on the ticket — however they were added — loses access while it is under lockdown, along with everyone else who is not the customer or management, and gets it back when the lockdown is lifted. Permission edits made during a lockdown are not recorded, since lockdown is deliberately management-only.

Renaming ​

/rename converts the name you give it into a valid Discord channel name — lowercase, with anything that is not a letter, number, or dash replaced by a dash. Refund - Order 1234 becomes refund-order-1234.

De-escalating ​

/deescalate is the reverse of a handoff to staff: it returns an escalated ticket to normal bot handling. Ogma stays quiet until the customer sends their next message, so you can finish the conversation you are having before the bot resumes. It only works on escalated tickets. See Escalation for how tickets become escalated in the first place.

Lockdown ​

Lockdown is for sensitive tickets (billing disputes, HR, moderation). Regular support staff and anyone added to the ticket lose channel access until lockdown is lifted. Configure management roles in Settings → Team & bot handoff before using /lockdown or /unlock — without them, both commands refuse to run.

Closed tickets that were under lockdown remain restricted to management in the dashboard.


Staff shortcuts ​

CommandOptionsWho can useWhat it does
/macroshortcut (required text, up to 32 characters)Staff role (Plus or Enterprise)Posts a canned response from Settings → Macros into the ticket channel

Type the macro's shortcut, not its title — /macro shortcut:refund-policy. If the shortcut does not exist, Ogma tells you privately and posts nothing. /macro only works inside an open ticket.

Macros require Ogma Plus or Enterprise. Create and edit macros in dashboard Settings → Macros.

The -# internal note shortcut is the other staff shortcut.


Knowledge commands ​

CommandOptionsPermissionWhat it does
/ingestcontent (required text), title (optional text)Manage ServerAdds pasted text to your knowledge base immediately

The optional title helps you find the source later. Ogma replies with how many chunks it stored. For files, URLs, and synced sources, use dashboard Knowledge.


AI chat (raw GPT) ​

These commands chat directly with the AI model without searching your knowledge base. They are for staff, and they spend your plan's AI token allowance, like Playground and ticket replies — there is no separate per-question quota.

CommandOptionsNotes
/askprompt (required text)Preferred command name
/ogma askgptprompt (required text)Legacy alias — same behaviour as /ask

Both need a staff role, Manage Channels, or Manage Server, and Settings → AI & voice → Raw GPT commands turned on (it is on by default). When it is off, the bot points you to Playground instead.

The answer is posted publicly in the channel. Replies longer than Discord's 2000-character limit are truncated.

Hourly rate limits apply per server and per user. When you hit one, Ogma tells you how many seconds to wait. If your server has used its monthly token allowance and overage is not available on your plan, Ogma replies that the monthly token limit has been reached — see Billing.

Testing vs general chat ​

ToolUse for
Playground (dashboard → Knowledge)Testing real support answers — shows exactly which docs were used
/ask or /ogma askgptGeneral AI chat — ignores your docs

For validating support quality, always use Playground, not raw GPT commands.


Support history (Enterprise) ​

CommandOptionsWho can useWhat it does
/ogma historyquestion (required text, up to 500 characters), days (optional: 7, 30, or 90; default 30)Staff role, Manage Channels, or Manage ServerAnswers a question about trends across your closed tickets

Ask things like How many tickets involved refunds? or What are customers most often stuck on this month? Ogma replies privately with an answer, a confidence level, how many tickets it analysed, and links to example tickets in the dashboard.

/ogma history requires Ogma Enterprise and uses your plan's AI tokens, with the same rate limits as /ask. It does not depend on the raw GPT setting.


Privacy and policy commands ​

CommandOptionsWho can useWhat it does
/delete-my-dataemail (optional)AnyoneStarts a data deletion request for your Discord account on this server
/ogma privacy—AnyonePosts a link to the Ogma Privacy Policy
/ogma terms—AnyonePosts a link to the Ogma Terms of Service

/delete-my-data shows you exactly what will be deleted and waits for you to press Yes, submit request — nothing is deleted until you confirm, and Cancel stops it. The optional email lets Ogma notify you when the request is processed. Requests are reviewed within the deadline shown in the confirmation; if no action is taken, eligible data is deleted automatically.


Utility commands ​

CommandOptionsWho can useWhat it does
/ping—AnyoneConfirms Ogma is online and responding, and names the server it resolved you to
/ogma devchannel (optional ticket channel)Ogma platform staff onlyGrants Ogma support staff temporary access to a ticket for debugging

/ping is the quickest way to tell "the bot is down" apart from "the bot is not configured" — if /ping answers, Ogma is running and your issue is configuration. See Troubleshooting.

/ogma dev is for the Ogma team, not your server's staff. When Ogma support is helping you debug a ticket, it lets them use staff commands in that channel without you handing over a staff role, and stops the bot escalating while they work. Anyone else who runs it is turned away.


Quick setup reminder ​

Your situationCommand
Brand new server/ogma-config setup
Already have support channels/ogma-config link
Changed settings on the website/ogma autoconfig
Not sure if you are done/ogma-config view

Full walkthrough: Setup guide.


Ogma — answer once, reuse forever. · FiniAC · Blog · llm.txt (full docs for LLMs)