# Common issues

Source: https://righteousbot.dev/docs/common-issues/

Find your symptom, then the fix. Permissions, role order, prefixes, slash commands and protection that never fires.

Find what you see, then jump to the fix.

| What you see                                      | Usually                                                         | Fix                                                     |
| ------------------------------------------------- | --------------------------------------------------------------- | ------------------------------------------------------- |
| No reply at all                                   | The bot can't post in that channel, or the server has no access | [The bot says nothing](#the-bot-says-nothing)           |
| **Missing Permissions**                           | You or the bot lacks one Discord permission                     | [Missing Permissions](#missing-permissions)             |
| **Higher Role Hierarchy** (any of three)          | Role order, not permissions                                     | [Role order](#role-order)                               |
| An anti-nuke rule that never fires                | The bot lacks **View Audit Log**                                | [Protection never fires](#protection-never-fires)       |
| A copied example does nothing                     | Your server uses another prefix                                 | [The prefix doesn't work](#the-prefix-doesnt-work)      |
| A slash command missing, outdated or listed twice | Discord holds the list, not the bot                             | [Slash commands look wrong](#slash-commands-look-wrong) |
| A setting that used to work stopped               | Something it points at is gone                                  | [A setting stopped working](#a-setting-stopped-working) |
| How many reminders, and how to write the time     | Reminders have their own rules                                  | [Reminders](#reminders)                                 |

## The bot says nothing [#the-bot-says-nothing]

Run `/help` in the same channel. If it answers and `,help` doesn't, the bot can't post there: it needs
**View Channel**, **Send Messages** and **Embed Links** in that channel.

<Callout type="warn" title="Embed Links is the one people remove">
  Every reply is an embed, errors included. Without Embed Links the bot says nothing at all. Check the
  channel's overwrites, not just the bot's role.
</Callout>

**"Server not whitelisted"** means the server needs access. See
[Get access](/docs/getting-started/introduction/#get-access-for-your-server). If even `/help` is silent,
check the bot is still in the server and online.

## Missing Permissions [#missing-permissions]

On slash, `Missing permissions: X` is **you** and `I'm missing permissions: X` is **the bot**. On prefix
they look the same, so check yourself first with [`,permissions`](/commands/info/permissions/#permissions).
If you have it, the bot doesn't.

* The bot checks its **server-wide** permissions, so a command can still fail in one channel that
  denies it. Look at that channel's overwrites.
* Administrator on the bot gives every permission, but **no extra height** in the role list.

Some refusals aren't permissions at all: `server owner only` (Administrator isn't enough),
`requires premium`, `requires server premium` ([premium](/docs/getting-started/premium-tiers/)), and
`Command on cooldown`.

## Role order [#role-order]

The bot can only act on a member whose highest role is **strictly below** its own. Ties count as
outranked, and the server owner can never be actioned.

| Message                              | Who is outranked                                                                   |
| ------------------------------------ | ---------------------------------------------------------------------------------- |
| **Higher Role Hierarchy**            | *You* don't outrank the member                                                     |
| **Person has higher role hierarchy** | *The bot* doesn't outrank the member                                               |
| **Role has higher role hierarchy**   | The role it would give (mute, jail, autorole, booster role) is at or above the bot |

Fix: **Server Settings → Roles**, drag **Righteous** above those roles. A filter or protection rule that
fails this way reports it in your log channel, not in chat.

## Protection never fires [#protection-never-fires]

Anti-nuke reads Discord's audit log. Without **View Audit Log** on the bot, rules never fire and say
nothing. Righteous posts one **Anti-Nuke Is Not Working** warning to your protection log, so set one
with [`,antinuke log`](/commands/server-tools/antinuke/#antinuke-log). Better: run the check after every change.

<CommandBlock syntax=",antinuke check" />

A rule can fire and still look idle:

* The punishment needs its own permission on the bot (Ban Members, Kick Members, Moderate Members).
* `mute` and `jail` need [`,config muterole`](/commands/server-tools/config/#config-muterole) /
  [`jailrole`](/commands/server-tools/config/#config-jailrole) set, below the bot.
* `stripstaff` does nothing with an empty [`,staff`](/commands/server-tools/staff/#staff-add) list.
* Whitelisted members are exempt on purpose, and `warn` only reports.

Each system is set up on its own: see [which protection covers what](/docs/protection/antinuke/#which-protection-covers-your-worry).

## The prefix doesn't work [#the-prefix-doesnt-work]

Every server can change its prefix. Out of the box Righteous answers to the default `,` and the words `jason` and
`righteous` (`@Righteous help&#x60; always works). Mention **@Righteous** on its own and it replies with your server's prefix. See every prefix with:

<CommandBlock syntax=",prefix list" />

It needs **Manage Server**. Slash commands never change, so `/help` works everywhere.
More in [Commands and prefix](/docs/getting-started/prefix-and-slash-commands/).

## Slash commands look wrong [#slash-commands-look-wrong]

* **Missing or outdated:** Discord takes about an hour to update every server. Then restart Discord.
* **Listed twice:** a test copy sits on top of the real one. It's harmless and clears itself.
* **No slash form:** not every command has one. Its [/commands](/commands/) page says so.
* **`/overwatch`, `/fortnite`, `/minecraft` are gone:** they're under `/game` now. The prefix commands didn't change.
* **`/ocr` and `,valorant` do nothing:** both are switched off for now.

## A setting stopped working [#a-setting-stopped-working]

* **The role or channel was deleted.** [`,config`](/commands/server-tools/config/#config) shows it as
  deleted. Set it again.
* **The bot's role was moved down.** See [Role order](#role-order).
* **New channels let muted members talk.** They don't have the mute overwrites. Run
  [`,setup update`](/commands/server-tools/setup/#setup-update).
* **Access lapsed.** Nothing you set up is lost. See
  [Get access](/docs/getting-started/introduction/#get-access-for-your-server).

## Reminders [#reminders]

[`,remind`](/commands/fun/reminder/) (or `/remind`) is free. You can hold **5** reminders, or **30** with
any premium.

* Write a time as a duration (`1h30m`, biggest unit first), a clock time (`9pm`), `tomorrow`, a date
  (`mar 4`, `friday`) or a pasted Discord timestamp.
* A date with no time means **9am**. Times use your [`,lf timezone`](/commands/lastfm/lastfm/#lastfm-timezone),
  or US Central if you never set one.
* A bare time that has passed rolls forward (`9pm` means tomorrow, `friday` next week). `today 6am` at noon,
  or a pasted timestamp in the past, is **refused**.
* It arrives in your DMs, or in the channel with `/remind … where: here`. If you can no longer see or talk
  in that channel when it's due, it comes to your DMs instead. With DMs closed it isn't delivered: it's
  retried each time the bot restarts, for up to a week. Snooze buttons give 10m, 1h or 3h more.
* The reminder text can be up to **1,000 characters**.

<CommandBlock syntax=",remind <when> <text>" example=",remind 30m take the bread out" />
