Welcome
A message in the channel and by direct message when someone joins, with a custom image and starting roles.
When someone joins the server, MayaBot can do three things, each of which can be turned on separately:
- write a message in a channel;
- send a direct message to the new member;
- give them up to 10 roles.
You'll find it in Config > Members. Bots that join are ignored. The twin module for people who leave is Leaves.
Setting up
Turn the module on
Turn on the Welcome switch and press Set up.
Choose the actions
The panel has three tabs: Channel, Direct message and Roles. In each one a switch turns the action on. At least one is needed.
Save
Press Save. With Send a test (the paper plane icon) you see the result on yourself.
Channel message
In the Channel tab:
- Channel: a text or announcement channel MayaBot can write in.
- Notify the new member: if the text contains
%mention%, the new member gets the notification. Other mentions, such as@everyoneor roles, never notify. - Format: Content, Embed (v1) or Embed (v2), as in the Automatic message. The text can be up to 2000 characters.
- Attach the welcome image: adds the card (below).
The suggested text is "Hi %mention%, welcome to %server%!".
Direct message
In the Direct message tab turn on Send a direct message to the new member. It has its own format, text and image choice; the card is the same as the channel's. Here %mention% doesn't notify.
Members with direct messages closed for the server don't receive it. After a refused direct message MayaBot doesn't try again with that person for about an hour, even with Send a test.
Roles on joining
In the Roles tab turn on Add roles and choose up to 10 roles in Roles to give. The role rules apply: MayaBot must have Manage Roles and its role must be above the ones to give.
If the server uses Discord's membership screening (the rules to accept before taking part), the message is sent straight away but the roles arrive when the member accepts the rules. Members who accept after more than 30 days don't get them.
If a role can't be given, MayaBot skips it without any warning on Discord and the rest carries on. The dashboard shows MayaBot can no longer assign some of the roles.
Welcome image
The card is an image MayaBot creates for each new member, with their name and avatar. Press Edit image to open the editor.
Start from a template
In Templates choose Classic, Banner, Arcade or Sunset.
Set the background
In Background choose the Size and the Fill: Solid colour, Linear or Radial, with a gradient of 2 to 6 colours. You can also upload a Background image, move it, zoom it up to 400% and darken it up to 90%.
Add the layers
In Layers press Add and choose Text, Member avatar, Server icon, Image or Shape. Drag them on the card; they snap to the edges and the centre (hold Alt to stop them snapping).
Save twice
The editor's Save puts the card in the panel; then the panel's Save is needed to make it final.
| Element | Limit |
|---|---|
| Size | Banner 1024 × 450, Wide 1200 × 400, Panoramic 1024 × 576, Square 800 × 800 |
| Layers | up to 20 per card |
| Text of a layer | up to 200 characters, size from 8 to 240 px |
| Font | Poppins, Poppins Bold, Bebas Neue, Anton, Pacifico, Lobster, Press Start 2P |
| Uploaded images | PNG, JPEG, WebP or GIF up to 1 MB; at most 5 different ones per card |
| Server storage | 20 images and 16 MB for Welcome, the same again for Leaves |
In the editor: arrow keys to move by 1 px (with Shift by 10 px), Delete to remove, Ctrl+D to duplicate, Ctrl+Z to undo.
Layer text doesn't wrap: if it's wider than the Maximum width it shrinks. The card is always a still image, even if you use a GIF.
If at a busy moment the card can't be created in time, the message is sent without the image. If the message was only the image, it isn't sent.
Placeholders
| Placeholder | In the message | In the card text |
|---|---|---|
%mention% | Member mention | Display name |
%username% | Username | Same |
%displayname% | Display name in the server | Same |
%userid% | User ID | Same |
%avatar% | Avatar link, also in image fields | Not available: use the Member avatar layer |
%createdat% | Account creation date, in the reader's format | Date DD/MM/YYYY |
%server% | Server name | Same |
%serverid% | Server ID | Same |
%servericon% | Server icon link, also in image fields | Not available: use the Server icon layer |
%membercount% | Member count, including whoever just joined | Same |
In the dashboard preview the placeholders use your account as an example and 128 as the member count.
Send a test
Send a test uses the saved settings, with you as the new member: it posts a real message in the channel, visible to everyone, and sends you the direct message. It doesn't give roles. You can send a test every 10 seconds.
Default texts and language
The texts suggested for the channel and for private messages are in the server language and follow it until you edit them: if the language changes, MayaBot writes in the new one straight away. An edited text stays as it is; the Reset button next to Format brings back the suggested text.
The text of the card templates, instead, is in the site language of whoever picks the template and stays in the card as you saved it.
Permissions
| MayaBot's permission | When it's needed | If it's missing |
|---|---|---|
| View Channel, Send Messages | Channel message | The channel message isn't sent |
| Embed Links | Embed (v1) format | The channel message isn't sent |
| Attach Files | Card in the channel | The channel message isn't sent |
| Manage Roles, role above the ones to give | Roles | The roles aren't given |
MayaBot doesn't send a cut-down version of the message: if a permission is missing, that message isn't sent. The direct message needs no permissions.
Common problems
| Problem | Fix |
|---|---|
| Nothing arrives | Check that the module is on and set up (no orange border) |
| The channel message doesn't arrive | Check the warnings in the panel and the permissions in the table above |
| The direct message doesn't arrive | The member has direct messages closed or has blocked MayaBot |
| The roles don't arrive | Move MayaBot's role higher and give it Manage Roles |
| The roles arrive late | The server uses Discord's membership screening: they arrive after the rules are accepted |
%mention% doesn't notify | Turn on Notify the new member. In the direct message the mention never notifies |
| Someone who leaves and rejoins straight away doesn't get a new welcome | That's normal: an immediate rejoin doesn't trigger a second message |