-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First draft for task: Update FAQ/Arguments/dev mode/beta #35
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,87 +1,102 @@ | ||
# Using developer mode | ||
# What is developer mode? | ||
|
||
Discord has a developer mode feature that lets you copy IDs of nearly anything that has one, such as servers, users, channels, roles... etc. You can use developer mode to greatly skim through MoonlightBot's features. | ||
Developer mode is a feature in Discord that allows you to copy the ID of any object in Discord, such as users, channels, roles, servers, etc. This is useful for MoonlightBot, as it allows you to provide the exact object you want to interact with, without any ambiguity. | ||
|
||
{% hint style="success" %} | ||
You're not required to have bot developer skills to use developer mode. It does not also hinder your normal Discord usage in any way. | ||
{% endhint %} | ||
|
||
## Enabling developer mode | ||
|
||
### On the Discord desktop app | ||
# Using developer mode | ||
|
||
To use developer mode, you need to enable it first. Instructions for enabling developer mode are provided in the next section ([Enabling developer mode](#enabling-developer-mode)). | ||
|
||
Whenever MoonlightBot asks for something like a user, chanel, etc., you can provide the ID as an argument to make sure it is pointing to exactly what you want. | ||
|
||
## Desktop/Web App | ||
|
||
To copy the ID of an object in the desktop or web app, right-click the object and click on the **Copy ID** option. | ||
|
||
## Android App | ||
|
||
For example, to copy the ID of a user in the Android app, tap on the user's profile, then tap on the three dots in the top right corner and click on **Copy ID**. | ||
|
||
|
||
1. Go to **User Settings **by clicking the gear icon in the bottom left of the window; | ||
## iOS App | ||
|
||
For example, to copy the ID of a user in the iOS app, tap on the user's profile, then tap on the three dots in the top right corner and click on **Copy ID**. | ||
|
||
|
||
# Enabling developer mode | ||
|
||
## Desktop/Web App | ||
|
||
1. Go to **User Settings** by clicking the gear icon in the bottom left of the window; | ||
2. Go to "**Advanced**"; | ||
3. Click on the **Developer mode** toggle and you're done! | ||
|
||
{% tabs %} | ||
{% tab title="Step 1" %} | ||
 | ||
 | ||
{% endtab %} | ||
|
||
{% tab title="Step 2" %} | ||
 | ||
 | ||
{% endtab %} | ||
|
||
{% tab title="Step 3" %} | ||
 | ||
 | ||
{% endtab %} | ||
{% endtabs %} | ||
|
||
### On the Android app | ||
## Android App | ||
|
||
1. Go to **User Settings** by clicking your avatar in the bottom right corner of the channel drawer; | ||
2. Scroll down until the **Behavior** section; | ||
3. Open **Behavior**; | ||
4. Click on the **Developer mode** toggle and you're done! | ||
1. Go to **User Profile** by clicking your avatar in the bottom right corner; | ||
2. Click again on your avatar in the bottom right corner or on the three dots in the top right corner; | ||
3. Scroll down until the **Advanced** section; | ||
4. Open **Advanced**; | ||
5. Click on the **Developer Mode** toggle and you're done! | ||
|
||
{% tabs %} | ||
{% tab title="Step 1" %} | ||
 | ||
 | ||
{% endtab %} | ||
|
||
{% tab title="Step 2" %} | ||
 | ||
 | ||
{% endtab %} | ||
|
||
{% tab title="Step 3" %} | ||
 | ||
 | ||
{% endtab %} | ||
|
||
{% tab title="Step 4" %} | ||
 | ||
 | ||
{% endtab %} | ||
{% endtabs %} | ||
|
||
### On the iOS app | ||
### iOS App | ||
|
||
1.  Go to **User Settings** by clicking your avatar in the bottom right corner of the channel drawer; | ||
2.  Scroll down until the **Appearance** section; | ||
3.  Open **Appearance**; | ||
4.  Click on the **Developer Mode** toggle and you're done! | ||
1. Go to **User Profile** by clicking your avatar in the bottom right corner; | ||
2. Click again on your avatar in the bottom right corner or on the three dots in the top right corner; | ||
3. Scroll down until the **Advanced** section; | ||
4. Open **Advanced**; | ||
5. Click on the **Developer Mode** toggle and you're done! | ||
|
||
{% tabs %} | ||
{% tab title="Step 1" %} | ||
 | ||
 | ||
{% endtab %} | ||
|
||
{% tab title="Step 2" %} | ||
 | ||
 | ||
{% endtab %} | ||
|
||
{% tab title="Step 3" %} | ||
 | ||
 | ||
{% endtab %} | ||
|
||
{% tab title="Step 4" %} | ||
 | ||
 | ||
{% endtab %} | ||
{% endtabs %} | ||
|
||
## Using developer mode | ||
|
||
After you toggled developer mode nothing happened right? Well, try right clicking or going on an user's profile on mobile. | ||
|
||
 | ||
|
||
You can also do this for channels, roles, servers and messages. Whenever MoonlightBot asks for something like that, you can provide the ID as argument to make sure it's pointing to exactly what you want. |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -4,75 +4,78 @@ | |||||
|
||||||
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. | ||||||
* [ ] It can happen that the server admins disabled the `showPermissionError` option and you do not have permissions to use the command you're trying to use. Contact the server admins. | ||||||
* 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 [contact support](https://discord.gg/hNQWVVC). | ||||||
|
||||||
## 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 at the [support server](https://discord.gg/hNQWVVC). | ||||||
|
||||||
|
||||||
## Can I use bots to trigger MoonlightBot commands? | ||||||
|
||||||
No, other bots and webhooks cannot trigger MoonlightBot, due to safety reasons. Using [selfbots](https://support.discord.com/hc/en-us/articles/115002192352-Automated-user-accounts-self-bots-) is a violation of Discord's Terms of Service. | ||||||
No, other bots and webhooks cannot trigger MoonlightBot, due to safety reasons. Using [selfbots](https://support.discord.com/hc/en-us/articles/115002192352-Automated-User-Accounts-Self-Bots) is a violation of Discord's Terms of Service. | ||||||
|
||||||
## 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 does the temprole feature work? | ||||||
|
||||||
There are different types of temprole offered: | ||||||
|
||||||
* The [Temprole](../staff-commands/temprole.md) command, which allows a privileged user (usually a moderator) to give someone a role, and make MoonlightBot remove the role after a set duration. | ||||||
* Self-assignable temproles, that allow users to assign themselves a role through the [Selfrole](../public-commands/selfrole.md) command. See how to set this up at [Configuring roles](../admin-commands/config/configuring-roles.md). | ||||||
* Join-assigned temproles. Take a look at [Configuring roles](../admin-commands/config/configuring-roles.md). | ||||||
* The [Temprole](../role-management-commands/temprole.md) command, which allows a privileged user (usually a moderator) to give someone a role, and make MoonlightBot remove the role after a set duration. | ||||||
* Self-assignable temproles, that allow users to assign themselves a role through the [Selfrole](../role-management-commands/selfrole.md) command. See how to set this up at [Configuring roles](../management-commands/config.md#roles-self-assignable). | ||||||
* Join-assigned temproles. Take a look at [Configuring roles](../management-commands/config.md#roles-join-assignable). | ||||||
* Reaction roles have an option to make their roles temporary. To see how to set up reaction roles, see [Setting up reaction roles](setting-up-reaction-roles.md). | ||||||
|
||||||
## How do I cancel a temprole? | ||||||
|
||||||
You can cancel a temprole to force an immediate expiration by using the `temprole` command with a duration that would make it expire in the past. Say you want to cancel a temprole that has 3 days left of time: | ||||||
You can cancel a temprole to force an immediate expiration by using the `temprole` command 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> <role> -3d | ||||||
``` | ||||||
|
||||||
Any value lower than `-3d` will work. | ||||||
Any value lower than `-3d` will work as well. | ||||||
|
||||||
## How does the temprole sustain mechanic work? | ||||||
|
||||||
In order to encourage good support practices, a new system for temproles to be sustained to make them function has been introduced. | ||||||
|
||||||
When operating a temporary role, you need to satisfy either of the following conditions: | ||||||
- Your maximum duration allowed to set must be the same when you add it, and when the duration expires | ||||||
- While the temporary role is active, have gained [a vote](../support/upvote-moonlightbot.md) for at least half of the days. For example, a 30 days temprole is sustained by at least 15 votes | ||||||
|
||||||
If neither condition is satisfied, the temprole will not removed from the target user. You can check if everything is sustained with the `/status` command, and eventually how to correct it. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So now how does one check? (/list-temproles) |
||||||
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. | ||||||
|
||||||
{% hint style="info" %} | ||||||
[Premium subscribers](../versions-of-the-bot/premium.md) of tier Advanced and above do not need to sustain their temproles. | ||||||
{% endhint %} | ||||||
When operating a temporary or pause role, you must satisfy at least one of the following conditions: | ||||||
|
||||||
If someone is threatening to stop sustaining temproles to damage your server, [contact support](https://discord.gg/hNQWVVC). We will investigate the matter and render any threat ineffective. | ||||||
1. **Maximum Duration Consistency**: The maximum duration allowed for the role adder 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 | ||||||
|
||||||
You can also contact support to receive a temporary exemption from sustaining, if necessary. | ||||||
2. **Vote Requirement**: The number of votes received by the adder must be equal to or greater than the number of days the temporary role lasts. For example, a 30-day temprole requires at least 30 votes to be sustained. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
My bad for having forgotten this, half. Also link to the page that explains voting |
||||||
|
||||||
## Will my temproles be erased if a bot downtime happens? | ||||||
3. **Premium Instance**: The server must be on a premium instance (Advance+ tier). | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
link here as well |
||||||
|
||||||
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. | ||||||
4. **Exemption Request**: The adder must have requested and received an exemption from bot staff | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Where? How? Exemption from what? |
||||||
|
||||||
## MoonlightBot is sending me offensive direct messages. What can I do? | ||||||
If none of these conditions are met, the operation at the end of expiration will not be executed. | ||||||
|
||||||
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 at the [support server](https://discord.gg/hNQWVVC). | ||||||
If someone is threatening to stop sustaining temproles to damage your server, [contact support](https://discord.gg/hNQWVVC). We will investigate the matter and render any threat ineffective. | ||||||
|
||||||
## What language is MoonlightBot written in? | ||||||
## Will my temproles be erased if bot downtime happens? | ||||||
|
||||||
It's written in Node.js using the Discord.js library to interface with Discord's API. | ||||||
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. | ||||||
|
||||||
## How can I get access to new features early? | ||||||
|
||||||
Take a look at the [Beta](../versions-of-the-bot/beta.md) and [Test](../versions-of-the-bot/test.md) versions of MoonlightBot. | ||||||
Take a look at the [Beta](../support/beta.md) version of MoonlightBot. | ||||||
|
||||||
## 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. | ||||||
|
||||||
## Who is the owner of MoonlightBot? | ||||||
|
||||||
MoonlightBot is owned by MoonlightCapital. With tag `MoonlightCapital#0001` and ID `256460316660072448` on Discord. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same goes for any other temporary action