Skip to content

Commit a023ad7

Browse files
Revert "GITBOOK-107: No subject"
This reverts commit a6545b5.
1 parent a6545b5 commit a023ad7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+341
-1251
lines changed

.gitbook/assets/immagine.png

-460 KB
Binary file not shown.
-60.3 KB
Binary file not shown.
-49.2 KB
Binary file not shown.
-54.1 KB
Binary file not shown.
-43.3 KB
Binary file not shown.

.gitbook/assets/step_four (1).png

-657 KB
Binary file not shown.

.gitbook/assets/step_four.png

-166 KB
Binary file not shown.

.gitbook/assets/step_one (1).png

-286 KB
Binary file not shown.

.gitbook/assets/step_one (2).png

-496 KB
Binary file not shown.

.gitbook/assets/step_one.png

-500 KB
Binary file not shown.

.gitbook/assets/step_three (1).png

-109 KB
Binary file not shown.

.gitbook/assets/step_three (2).png

-275 KB
Binary file not shown.

.gitbook/assets/step_three.png

-97.9 KB
Binary file not shown.

.gitbook/assets/step_two (1).png

-390 KB
Binary file not shown.

.gitbook/assets/step_two (2).png

-1.28 MB
Binary file not shown.

.gitbook/assets/step_two.png

-256 KB
Binary file not shown.

README.md

+20-32
Original file line numberDiff line numberDiff line change
@@ -4,90 +4,78 @@ Welcome to the documentation for MoonlightBot! MoonlightBot is a powerful modera
44

55
## Getting Started
66

7-
First, add the bot to your server using [this invite link](https://discord.com/api/oauth2/authorize?client\_id=314110696071888896\&permissions=1512298638534\&scope=applications.commands%20bot). It's recommended (but not required) that you grant it all permissions it requests, so all its features will work correctly.
7+
First, add the bot to your server using [this invite link](https://discord.com/api/oauth2/authorize?client_id=314110696071888896&permissions=1512298638534&scope=applications.commands%20bot). It's recommended (but not required) that you grant it all permissions it requests, so all its features will work correctly.
88

9-
{% hint style="info" %}
10-
You can only add bots to servers in which you have the Manage Server permission.
11-
{% endhint %}
9+
{% hint style="info" %} You can only add bots to servers in which you have the Manage Server permission. {% endhint %}
1210

1311
Once you've added it to your server, you can verify that it's working by using the `/ping` command, which simply checks the bot's latency.
1412

15-
![Result of /ping command](.gitbook/assets/MainPagePing.png)
13+
![Result of /ping command](./.gitbook/assets/MainPagePing.png)
1614

17-
If this is your first time using MoonlightBot, you'll receive a Direct Message welcoming you to the bot and providing several recommendations, including reading the [Acceptable Use Policy](policies/acceptable-use-policy.md). Please read this carefully, as a violation of the Acceptable Use Policy can result in you being banned from using the service.
15+
If this is your first time using MoonlightBot, you'll receive a Direct Message welcoming you to the bot and providing several recommendations, including reading the [Acceptable Use Policy](./policies/acceptable-use-policy.md). Please read this carefully, as a violation of the Acceptable Use Policy can result in you being banned from using the service.
1816

19-
![Welcome message](.gitbook/assets/MainPageWelcome.png)
17+
![Welcome message](./.gitbook/assets/MainPageWelcome.png)
2018

21-
We suggest that you also review the [Moderation Tutorial](get-started/moderation-tutorial.md) and share it with your server moderators and administrators following the configuration of the bot.
19+
We suggest that you also review the [Moderation Tutorial](./start-up/moderation-tutorial.md) and share it with your server moderators and administrators following the configuration of the bot.
2220

2321
## Temporary Roles
2422

2523
The bot can assign and remove specified roles to a user temporarily.
2624

27-
* You can assign or remove a temporary role to a user with [`/temprole`](role-management-commands/temprole.md)
28-
* All temporary roles currently active in the server can be listed with [`/list-temproles`](role-management-commands/list-temproles.md)
29-
* You can permanently assign or remove any role to a user with [`/role`](role-management-commands/role.md)
30-
* Users can assign and remove selected roles to themselves with [`/selfrole`](role-management-commands/selfrole.md)
31-
* You also have the option of using [Reaction Roles](get-started/setting-up-reaction-roles.md) in place of the `/selfrole` command
32-
* A role assigned to a user can automatically be changed to a temporary role with the [`roles detect-assignment` config option](management-commands/config.md#roles-detect-assignment)
33-
* Any role assigned to a user can also be temporarily removed with [`/pause-role`](role-management-commands/pause-role.md)
25+
* You can assign or remove a temporary role to a user with [`/temprole`](./role-management-commands/temprole.md)
26+
* All temporary roles currently active in the server can be listed with [`/list-temproles`](./role-management-commands/list-temproles.md)
27+
* You can permanently assign or remove any role to a user with [`/role`](./role-management-commands/role.md)
28+
* Users can assign and remove selected roles to themselves with [`/selfrole`](./role-management-commands/selfrole.md)
29+
* You also have the option of using [Reaction Roles](./start-up/setting-up-reaction-roles.md) in place of the `/selfrole` command
30+
* A role assigned to a user can automatically be changed to a temporary role with the [`roles detect-assignment` config option](./management-commands/config.md#roles-detect-assignment)
31+
* Any role assigned to a user can also be temporarily removed with [`/pause-role`](./role-management-commands/pause-role.md)
3432

3533
## Command Permissions
3634

37-
MoonlightBot uses Discord's built-in permissions system to configure who should and should not be able to execute certain commands. Some commands have required permissions set up by default, and all commands can have permissions overridden for specific roles or users. To set up permissions properly, follow the [Permission Tutorial](get-started/permission-tutorial.md).
35+
MoonlightBot uses Discord's built-in permissions system to configure who should and should not be able to execute certain commands. Some commands have required permissions set up by default, and all commands can have permissions overridden for specific roles or users. To set up permissions properly, follow the [Permission Tutorial](./start-up/permission-tutorial.md).
3836

3937
## Logging
4038

4139
The bot has configurable logging, and can log several kinds of actions to one or more channels. To enable and configure logging for a specific channel, use the command
42-
4340
```
4441
/config channels channel:LOG-CHANNEL logs:Open editor
4542
```
46-
4743
where `LOG-CHANNEL` is the channel you want logs posted to.
4844

49-
It will ask you for the log actions, and you can enter your choice of items or categories from the [list of log names](advanced/list-of-log-names.md) or simply enter an asterisk (`*`) to log everything. The list of items and categories to log should be separated by commas and spaces, like so: `BAN, KICK, USER_JOIN, USER_LEFT`
45+
It will ask you for the log actions, and you can enter your choice of items or categories from the [list of log names](./advanced/list-of-log-names.md) or simply enter an asterisk (`*`) to log everything. The list of items and categories to log should be separated by commas and spaces, like so: `BAN, KICK, USER_JOIN, USER_LEFT`
5046

5147
## Mute Setup
5248

5349
The bot can mute users both temporarily and permanently. To use mute features, use the command
54-
5550
```
5651
/create-muterole
5752
```
58-
5953
to automatically create a mute role with the correct permissions. You can specify a role to be used, or leave it blank and the bot will automatically create a new role.
6054

61-
![Result of /create-muterole command](.gitbook/assets/MainPageMuterole.png)
55+
![Result of /create-muterole command](./.gitbook/assets/MainPageMuterole.png)
6256

63-
You should now be able to use [`/mute`](moderation-commands/mute.md), [`/tempmute`](moderation-commands/tempmute.md), and [`/unmute`](moderation-commands/unmute.md).
57+
You should now be able to use [`/mute`](./moderation-commands/mute.md), [`/tempmute`](./moderation-commands/tempmute.md), and [`/unmute`](./moderation-commands/unmute.md).
6458

6559
## Changing the Bot's Language
6660

6761
The bot supports multiple languages in its responses. This can be set globally for the server, or specifically for you. You can set this by using
68-
6962
```
7063
/config settings locale:LANG
7164
```
72-
7365
for server-wide configuration, or
74-
7566
```
7667
/userconfig settings locale:LANG
7768
```
78-
7969
for user-specific configuration, where `LANG` is the language you want MoonlightBot to respond in.
8070

8171
You can find a list of all valid languages [on the Discord Developer Portal](https://discord.com/developers/docs/reference#locales). Locale, Language Name, and Native Name are all valid inputs. You can also use `auto` and MoonlightBot will attempt to auto-detect your preferred language from your Discord settings.
8272

83-
{% hint style="info" %}
84-
MoonlightBot is translated entirely by volunteers, so not all languages are complete and some may have translation errors. If you speak one of the supported languages proficiently and would like to help us translate MoonlightBot, [please consider becoming a translator!](support-our-work/volunteering.md#translator)
85-
{% endhint %}
73+
{% hint style="info" %} MoonlightBot is translated entirely by volunteers, so not all languages are complete and some may have translation errors. If you speak one of the supported languages proficiently and would like to help us translate MoonlightBot, [please consider becoming a translator!](./support/volunteering.md#translator) {% endhint %}
8674

8775
## Support the Development of MoonlightBot
8876

89-
MoonlightBot is run and maintained by volunteers, and is currently funded entirely by [Premium Subscriptions](support-our-work/premium.md). These subscriptions help us fund hosting and give you great benefits, making them a fantastic way to support us. You can also help by [upvoting the bot](support-our-work/upvote-moonlightbot.md) on bot lists or by [joining our team of testers, translators, and documentation writers](support-our-work/volunteering.md).
77+
MoonlightBot is run and maintained by volunteers, and is currently funded entirely by [Premium Subscriptions](./support/premium.md). These subscriptions help us fund hosting and give you great benefits, making them a fantastic way to support us. You can also help by [upvoting the bot](./support/upvote-moonlightbot.md) on bot lists or by [joining our team of testers, translators, and documentation writers](./support/volunteering.md).
9078

9179
## Questions? Problems?
9280

93-
Please [read the Frequently Asked Questions first](get-started/faqs.md) to see if your question or problem is answered there. If your question or problem is still unanswered, [join the support server](https://discord.gg/hNQWVVC) and we will help you as best we can!
81+
Please [read the Frequently Asked Questions first](./start-up/faqs.md) to see if your question or problem is answered there. If your question or problem is still unanswered, [join the support server](https://discord.gg/hNQWVVC) and we will help you as best we can!

SUMMARY.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44

55
## Get Started
66

7-
* [Options](get-started/options.md)
8-
* [Frequently Asked Questions](get-started/faqs.md)
9-
* [Permission Tutorial](get-started/permission-tutorial.md)
10-
* [Moderation Tutorial](get-started/moderation-tutorial.md)
11-
* [Setting up Reaction Roles](get-started/setting-up-reaction-roles.md)
7+
* [Options](start-up/options.md)
8+
* [Frequently Asked Questions](start-up/faqs.md)
9+
* [Permission Tutorial](start-up/permission-tutorial.md)
10+
* [Moderation Tutorial](start-up/moderation-tutorial.md)
11+
* [Setting up Reaction Roles](start-up/setting-up-reaction-roles.md)
1212

1313
## Support Our Work
1414

15-
* [Volunteer Opportunities](support-our-work/volunteering.md)
16-
* [Premium Subscriptions](support-our-work/premium.md)
17-
* [Upvote MoonlightBot](support-our-work/upvote-moonlightbot.md)
15+
* [Volunteer Opportunities](support/volunteering.md)
16+
* [Premium Subscriptions](support/premium.md)
17+
* [Upvote MoonlightBot](support/upvote-moonlightbot.md)
1818
* [Support Server](https://discord.gg/hNQWVVC)
19-
* [MoonlightBot Beta (early access)](support-our-work/beta.md)
20-
* [Special Thanks](support-our-work/special-thanks.md)
19+
* [MoonlightBot Beta (early access)](support/beta.md)
20+
* [Special Thanks](support/special-thanks.md)
2121

2222
## Policies
2323

@@ -63,10 +63,10 @@
6363

6464
## Utility Commands
6565

66-
* [reminder](utility-commands/reminder.md)
67-
* [serverinfo](utility-commands/serverinfo.md)
68-
* [snowflake](utility-commands/snowflake.md)
69-
* [userinfo](utility-commands/userinfo.md)
66+
* [reminder](utilities-commands/reminder.md)
67+
* [serverinfo](utilities-commands/serverinfo.md)
68+
* [snowflake](utilities-commands/snowflake.md)
69+
* [userinfo](utilities-commands/userinfo.md)
7070

7171
## Advanced
7272

advanced/developer-mode.md

+22-24
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,48 @@
1-
# Using developer mode
2-
3-
## What is Developer Mode?
1+
# What is Developer Mode?
42

53
Developer mode is a Discord feature that allows you to access the internal IDs used by Discord to refer to certain objects, such as users, servers, messages, channels, and roles. These can be used in place of such options in MoonlightBot's commands.
64

7-
## Using Developer Mode
5+
# Using Developer Mode
86

9-
To use developer mode, you need to enable it first. Instructions for enabling developer mode are provided [in the next section](developer-mode.md#enabling-developer-mode).
7+
To use developer mode, you need to enable it first. Instructions for enabling developer mode are provided [in the next section](#enabling-developer-mode).
108

119
Whenever MoonlightBot asks for something like a user, channel, etc., you can provide the ID as an option to make sure it is pointing to exactly what you want.
1210

13-
### Desktop/Web App
11+
## Desktop/Web App
1412

1513
To copy the ID of an object in the desktop or web app, right-click the object and click on the **Copy ID** option.
1614

17-
### Android App
15+
## Android App
1816

1917
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**.
2018

21-
### iOS App
19+
## iOS App
2220

2321
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**.
2422

25-
## Enabling Developer Mode
23+
# Enabling Developer Mode
2624

27-
### Desktop/Web App
25+
## Desktop/Web App
2826

2927
1. Go to **User Settings** by clicking the gear icon in the bottom left of the window
3028
2. Go to "**Advanced**"
3129
3. Click on the **Developer mode** toggle and you're done!
3230

3331
{% tabs %}
3432
{% tab title="Step 1" %}
35-
![Image depicting step one on desktop](../.gitbook/assets/step\_one.png)
33+
![Image depicting step one on desktop](<../.gitbook/assets/dev-mode/desktop/step_one.png>)
3634
{% endtab %}
3735

3836
{% tab title="Step 2" %}
39-
![Image depicting step two on desktop](../.gitbook/assets/step\_two.png)
37+
![Image depicting step two on desktop](<../.gitbook/assets/dev-mode/desktop/step_two.png>)
4038
{% endtab %}
4139

4240
{% tab title="Step 3" %}
43-
![Image depicting step three on desktop](../.gitbook/assets/step\_three.png)
41+
![Image depicting step three on desktop](<../.gitbook/assets/dev-mode/desktop/step_three.png>)
4442
{% endtab %}
4543
{% endtabs %}
4644

47-
### Android App
45+
## Android App
4846

4947
1. Go to **User Profile** by clicking your avatar in the bottom right corner
5048
2. Click again on your avatar in the bottom right corner or on the three dots in the top right corner
@@ -54,23 +52,23 @@ For example, to copy the ID of a user in the iOS app, tap on the user's profile,
5452

5553
{% tabs %}
5654
{% tab title="Step 1" %}
57-
![Image depicting step one on an Android device](<../.gitbook/assets/step\_one (1).png>)
55+
![Image depicting step one on an Android device](<../.gitbook/assets/dev-mode/android/step_one.png>)
5856
{% endtab %}
5957

6058
{% tab title="Step 2" %}
61-
![Image depicting step two on an Android device](<../.gitbook/assets/step\_two (1).png>)
59+
![Image depicting step two on an Android device](<../.gitbook/assets/dev-mode/android/step_two.png>)
6260
{% endtab %}
6361

6462
{% tab title="Step 3" %}
65-
![Image depicting step three on an Android device](<../.gitbook/assets/step\_three (1).png>)
63+
![Image depicting step three on an Android device](<../.gitbook/assets/dev-mode/android/step_three.png>)
6664
{% endtab %}
6765

6866
{% tab title="Step 4" %}
69-
![Image depicting step four on an Android device](../.gitbook/assets/step\_four.png)
67+
![Image depicting step four on an Android device](<../.gitbook/assets/dev-mode/android/step_four.png>)
7068
{% endtab %}
7169
{% endtabs %}
7270

73-
### iOS App
71+
## iOS App
7472

7573
1. Go to **User Profile** by clicking your avatar in the bottom right corner
7674
2. Click again on your avatar in the bottom right corner or on the three dots in the top right corner
@@ -80,18 +78,18 @@ For example, to copy the ID of a user in the iOS app, tap on the user's profile,
8078

8179
{% tabs %}
8280
{% tab title="Step 1" %}
83-
![Image depicting step one on an iOS device](<../.gitbook/assets/step\_one (2).png>)
81+
![Image depicting step one on an iOS device](<../.gitbook/assets/dev-mode/ios/step_one.png>)
8482
{% endtab %}
8583

8684
{% tab title="Step 2" %}
87-
![Image depicting step two on an iOS device](<../.gitbook/assets/step\_two (2).png>)
85+
![Image depicting step two on an iOS device](<../.gitbook/assets/dev-mode/ios/step_two.png>)
8886
{% endtab %}
8987

9088
{% tab title="Step 3" %}
91-
![Image depicting step three on an iOS device](<../.gitbook/assets/step\_three (2).png>)
89+
![Image depicting step three on an iOS device](<../.gitbook/assets/dev-mode/ios/step_three.png>)
9290
{% endtab %}
9391

9492
{% tab title="Step 4" %}
95-
![Image depicting step four on an iOS device](<../.gitbook/assets/step\_four (1).png>)
93+
![Image depicting step four on an iOS device](<../.gitbook/assets/dev-mode/ios/step_four.png>)
9694
{% endtab %}
97-
{% endtabs %}
95+
{% endtabs %}

0 commit comments

Comments
 (0)