MoonlightBot Documentation
  • MoonlightBot Documentation
  • Get Started
    • Options
    • Frequently Asked Questions
    • Permission Tutorial
    • Moderation Tutorial
    • Setting up Reaction Roles
  • Support Our Work
    • Volunteer Opportunities
    • Premium Subscriptions
    • Upvote MoonlightBot
    • Support Server
    • MoonlightBot Beta (early access)
    • Special Thanks
  • Policies
    • Acceptable Use Policy
    • Volunteer Code of Conduct
    • Privacy Policy
  • Management Commands
    • config
    • create-muterole
    • reaction-roles
  • Miscellaneous Commands
    • check-duration
    • premium
    • userconfig
    • Other Minor Commands
  • Moderation Commands
    • ban
    • clean
    • infractions
    • kick
    • mute
    • softban
    • tempban
    • tempmute
    • timeout
    • unban
    • unmute
    • warn
  • Role management Commands
    • list-temproles
    • pause-role
    • role
    • selfrole
    • temprole
  • Utility Commands
    • reminder
    • serverinfo
    • snowflake
    • userinfo
  • Advanced
    • Using developer mode
    • List of log names
Powered by GitBook
On this page
  • MoonlightBot is not responding to my commands
  • MoonlightBot is sending me offensive direct messages. What can I do?
  • How does the temprole feature work?
  • How do I cancel a temporary action?
  • How does the temprole sustain mechanic work?
  • Will my temproles be erased if bot downtime happens?
  • Can I use bots to trigger MoonlightBot commands?
  • What language is MoonlightBot written in?
  • Who is the owner of MoonlightBot?
  • How can I get access to new features early?
  • I found a bug. How do I report it?
  1. Get Started

Frequently Asked Questions

PreviousOptionsNextPermission Tutorial

Last updated 2 months ago

MoonlightBot is not responding to my commands

Try doing the following things:

  • Make sure it's online. If it shows as offline, please join the support server and let the Staff know.

  • Try checking channel permission. If needed, you can add to the bot channel-specific permissions such as Read Messages, Send Messages, Embed Links and View Message History.

If the problem persists, please .

MoonlightBot is sending me offensive direct messages. What can I do?

This is happening because someone is abusing the infraction system to harass you. Our Staff does not tolerate this use at all. Please report it in the .

How does the temprole feature work?

There are different types of temprole offered:

  • The command, which allows a privileged user (usually a moderator) to give someone a role, and make MoonlightBot remove the role after a set duration

  • that allow users to assign themselves a role through the command

  • that assign a role automatically to a user upon joining the server

  • have an option to make their roles temporary

  • Any role assigned to a user can automatically be changed to a temporary role with the

  • The command does the opposite thing! It removes a role and automatically adds it back after the duration set

How do I cancel a temporary action?

You can cancel a temporary action to force an immediate expiration by using the same command you used to enact the action, but with a duration that would make it expire in the past. Say you want to cancel a temprole that has 3 days left:

/temprole user:<user> role:<role> duration:-3d

Any value lower than -3d will work as well. This same principle applies to the /tempban, /tempmute, /timeout and /pause-role commands.

How does the temprole sustain mechanic work?

In order to encourage good support practices, a system has been introduced for sustaining temproles to ensure they remain functional and fair for all servers and users.

When operating a temporary or pause role, you must satisfy at least one of the following conditions:

  1. Be Exempted: You must have requested and received an exemption from the above requirements from bot Staff. Simply ask in the support channel and they will guide you through the exemption process

Will my temproles be erased if bot downtime happens?

No! There's absolutely no reason to worry about potential data losses as MoonlightBot is designed to be resilient. We are committed to 99% uptime, but if it ever happens that the bot goes down, your temproles will be removed as nothing happened.

Can I use bots to trigger MoonlightBot commands?

What language is MoonlightBot written in?

It's written in Node.js using the Discord.js library to interface with Discord's API.

Who is the owner of MoonlightBot?

MoonlightBot is owned by MoonlightCapital. With tag moonlightcapital and ID 256460316660072448 on Discord.

How can I get access to new features early?

I found a bug. How do I report it?

Report it in the support server. Make sure to include enough information for your bug to be reproducible.

If your bug can be used to compromise the bot or end user's security, message the bot owner privately about it, and please do not disclose it anywhere.

Maximum Duration Consistency: The for you at the time of the role's expiration must be equal to or greater than their maximum duration allowed at the time the role was added

Vote Requirement: The received from you must be equal to or greater than half the number of days the temporary role lasts, rounded up. For example, a 30-day temprole meets this requirement if you have cast at least 15 votes after its beginning. Each vote counts towards all of your active temporary/pause roles

Premium Instance: The server uses a (Advanced tier or higher)

If none of these conditions are met, the operation at the end of expiration will not be executed. You can check if your temproles are sustained with .

If someone is threatening to stop sustaining temproles to damage your server, . We will begin investigating the threat and will work to prevent abuse towards your server.

No, other bots and webhooks cannot trigger MoonlightBot, due to safety reasons. Using is a violation of Discord's Terms of Service.

Take a look at the version of MoonlightBot. We also have a more advanced .

maximum duration allowed
number of votes
MoonlightBot Premium instance
/list-temproles
contact support
selfbots
contact support
support server
/temprole
/selfrole
Reaction roles
roles detect-assignment config option
/pause-role
Beta
Tester Program
Self-assignable temproles
Join-assigned temproles