Skip to content

Commit c55a67a

Browse files
Updates premium and revamps greetings doc (#135) (#136)
* Updates premium links and descriptions Updates Premium links to the new premium page. Adds premium to stars emoji description. * Renames "Welcome & Leave" to "Greetings" Updates the sidebar navigation to use the term "Greetings" instead of "Welcome & Leave" for the welcome and leave functionality. This provides a clearer and more concise label. * Replaces welcome doc with greetings doc Consolidates welcome, leave, and ban message documentation into a single "greetings" document. Removes the old welcome documentation page and creates a new greetings documentation page to reflect the bot's functionality for welcome, leave, and ban messages. Co-authored-by: Yash Raj Kapoor <92311683+yash-bst@users.noreply.github.com>
1 parent e400e10 commit c55a67a

14 files changed

Lines changed: 700 additions & 612 deletions

docs/_images/premium_button.png

6.28 KB
Loading

docs/_navbar.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
* [Invite](https://discord.com/oauth2/authorize?&client_id=235148962103951360&scope=applications.commands+bot&permissions=2088234230&response_type=code&redirect_uri=https://carl.gg/api/server_auth)
2-
* [Dashboard](https://carl.gg)
3-
* [Premium](https://www.patreon.com/carlbot)
4-
* Support
5-
* [Discord](https://discord.gg/S2ZkBTnd8X)
6-
* [Twitter](https://twitter.com/carl_discord)
7-
* [Status](https://carl.gg/status)
1+
- [Invite](https://discord.com/oauth2/authorize?&client_id=235148962103951360&scope=applications.commands+bot&permissions=2088234230&response_type=code&redirect_uri=https://carl.gg/api/server_auth)
2+
- [Dashboard](https://carl.gg)
3+
- [Premium](https://carl.gg/get-premium)
4+
- Support
5+
- [Discord](https://discord.gg/S2ZkBTnd8X)
6+
- [Twitter](https://twitter.com/carl_discord)
7+
- [Status](https://carl.gg/status)

docs/_sidebar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- [**Feeds**](feeds.md "Feeds")
66
- [**Fun**](fun.md "Fun")
77
- [**Games**](games.md "Games")
8-
- [**Welcome & Leave**](welcome.md "Welcome & Leave")
8+
- [**Greetings**](greetings.md "Greetings")
99
- [**Levels** :star:](levels.md "Levels")
1010
- [**Logging**](logging.md "Logging")
1111
- [**Misc**](misc.md "Misc")

docs/automod.md

Lines changed: 141 additions & 119 deletions
Large diffs are not rendered by default.

docs/faq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ Just assign the bot a role that is higher than the highest role it has to assign
2828

2929
### What is the drama channel? {docsify-ignore}
3030

31-
This is a [Premium](https://www.patreon.com/carlbot) feature that aims to streamline your server's moderation. Automod is nice but it is not perfect as sometimes false positives happen. This feature was made for that exact reason. You need to:
31+
This is a [Premium](https://carl.gg/get-premium) feature that aims to streamline your server's moderation. Automod is nice but it is not perfect as sometimes false positives happen. This feature was made for that exact reason. You need to:
3232

3333
1. Set up the drama channel on either the Dashboard or with the command `!am drama <channel>`.
3434
2. Set the automod punishment to `Post to drama channel` on the Dashboard.
3535

3636
![Drama Channel](_images/faq_drama.png ":size=75%")
3737

38-
### I am missing premium slots. A different tier is shown than the one I subscribed to. {docsify-ignore}
38+
### I am missing premium slots. A different tier is shown than the one I subscribed to on Patreon. {docsify-ignore}
3939

4040
0. If you have any alt accounts, visit [Discord](https://discord.com) in a web browser and make sure you are logged in to the correct account.
4141
1. Go to [Patreon's page for linking apps](https://www.patreon.com/settings/apps) and click the Connect button next to the Discord icon.

docs/greetings.md

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
?> We recommend using the [Dashboard](https://carl.gg) as it allows for easier setup and embeds.
2+
3+
![Welcome Settings](_images/welcome_settings.png ":size=75%")
4+
5+
### Variables
6+
7+
Supports the following variables:
8+
9+
- `{mention}` - Pings the user
10+
- `{user}` - Name of the user
11+
- `{server}` - Name of the server
12+
- `{user(id)}` - ID of the user
13+
- `{user(proper)}` - Name including the last four digits (Carl-bot#1536)
14+
- `{server(members)}` - Number of members in the server (after the event has happened). Use `{ord:{server(members)}}` to turn 8102 into 8,102nd etc
15+
- `{random: separated ~ by ~ tilde}` - Random string from list. It first checks for `~` as separator and if it's not present, it checks for `,`.
16+
- `{math: 1 + 1}` - Calculate stuff
17+
18+
### Welcome Messages
19+
20+
Carl-bot can send welcome messages to a channel when a user joins the server. You can also DM the user upon joining.
21+
22+
![Set Welcome](_images/welcome_channel.png ":size=75%")
23+
24+
<!-- tabs:start -->
25+
26+
<!-- tab:Prefix Commands -->
27+
28+
| Name | Example | Usage |
29+
| --------------------------------------------------------------------------------------------------------------- | ----------------------- | -------------------------------------------------------------------- |
30+
| **set welcome** \<channel><br><span class="user-permissions">Manage Server</span> | `!set welcome #welcome` | Sets the channel where welcome notification messages will be posted. |
31+
| [**welcome**\|**greet**] \<text><br><span class="user-permissions">Manage Server</span> | `!welcome Welcome` | Sets up a welcome message that will be sent when a new user joins. |
32+
| [**dmjoin**\|**pmjoin**\|**joindm**\|**joinpm**] \<text><br><span class="user-permissions">Manage Server</span> | `!joindm Welcome` | DMs the user upon joining your server. |
33+
34+
<!-- tab:Slash Commands -->
35+
36+
| Name | Example | Usage |
37+
| ----------------------------------------------------------------------------------------------- | ------------------------------------- | ------------------------------------------------------------------ |
38+
| **greetings welcome_channel** \<channel><br><span class="user-permissions">Manage Server</span> | `/greetings welcome_channel #welcome` | Sets the channel where welcome messages will be sent. |
39+
| **greetings welcome** \<message><br><span class="user-permissions">Manage Server</span> | `/greetings welcome Welcome` | Sets up a welcome message that will be sent when a new user joins. |
40+
| **greetings joindm** [message]<br><span class="user-permissions">Manage Server</span> | `/greetings joindm Welcome` | DMs the user upon joining your server. |
41+
42+
<!-- tabs:end -->
43+
44+
### Leave Messages
45+
46+
Carl-bot can send leave messages to a channel when a user leaves the server.
47+
48+
<!-- tabs:start -->
49+
50+
<!-- tab:Prefix Commands -->
51+
52+
| Name | Example | Usage |
53+
| ---------------------------------------------------------------------------------------- | ------------------------- | ----------------------------------------------------------------------------- |
54+
| **set farewell** \<channel><br><span class="user-permissions">Manage Server</span> | `!set farewell #farewell` | Sets the channel where leave and banmsg notification messages will be posted. |
55+
| [**leave**\|**farewell**] \<text><br><span class="user-permissions">Manage Server</span> | `!leave Goodbye` | Sets up a leave message that will be sent when a user leaves the server. |
56+
57+
<!-- tab:Slash Commands -->
58+
59+
| Name | Example | Usage |
60+
| ------------------------------------------------------------------------------------------------ | --------------------------------------- | ------------------------------------------------------------------------ |
61+
| **greetings farewell_channel** \<channel><br><span class="user-permissions">Manage Server</span> | `/greetings farewell_channel #farewell` | Sets the channel where farewell messages will be sent. |
62+
| **greetings farewell** [message]<br><span class="user-permissions">Manage Server</span> | `/greetings farewell Goodbye` | Sets up a leave message that will be sent when a user leaves the server. |
63+
64+
<!-- tabs:end -->
65+
66+
### Ban Messages
67+
68+
Ban messages are sent when a user is banned from the server.
69+
70+
<!-- tabs:start -->
71+
72+
<!-- tab:Prefix Commands -->
73+
74+
| Name | Example | Usage |
75+
| ------------------------------------------------------------------------- | --------------------------- | ------------------------------------------------------------------- |
76+
| **banmsg** \<text><br><span class="user-permissions">Manage Server</span> | `!banmsg {user} got banned` | Sets up a banmsg message that will be sent when a user gets banned. |
77+
78+
<!-- tab:Slash Commands -->
79+
80+
| Name | Example | Usage |
81+
| ----------------------------------------------------------------------------------------- | ----------------------------------------- | ------------------------------------------------------------------- |
82+
| **greetings banmessage** [message]<br><span class="user-permissions">Manage Server</span> | `/greetings banmessage {user} got banned` | Sets up a banmsg message that will be sent when a user gets banned. |
83+
84+
<!-- tabs:end -->
85+
86+
### Testing Messages
87+
88+
To test your welcome, leave and ban messages, you can use the following commands. This will send a welcome, farewell, and ban message to the channel you use this command in.
89+
90+
<!-- tabs:start -->
91+
92+
<!-- tab:Prefix Commands -->
93+
94+
| Name | Example | Usage |
95+
| -------------------------------------------------------------------- | ------------ | ------------------------------------------------- |
96+
| **testgreet**<br><span class="user-permissions">Manage Server</span> | `!testgreet` | Sends a welcome, farewell and banmsg for testing. |
97+
98+
<!-- tab:Slash Commands -->
99+
100+
| Name | Example | Usage |
101+
| ------------------------------------------------------------------------------ | ---------------------- | ------------------------------------------------- |
102+
| **greetings testgreet**<br><span class="user-permissions">Manage Server</span> | `/greetings testgreet` | Sends a welcome, farewell and banmsg for testing. |
103+
104+
<!-- tabs:end -->

docs/levels.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
?> Levels is a premium feature offered to our Patrons as a way to show our gratitude for helping keep the bot alive.
22

3-
[![Patron Button](_images/patron_button.png)](https://www.patreon.com/bePatron?u=11251319)
3+
[![Premium Button](_images/premium_button.png)](https://carl.gg/get-premium)
44

55
## Level Card
66

0 commit comments

Comments
 (0)