Skip to main content
MayaBotDocs

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:

  1. write a message in a channel;
  2. send a direct message to the new member;
  3. 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 @everyone or 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.

ElementLimit
SizeBanner 1024 × 450, Wide 1200 × 400, Panoramic 1024 × 576, Square 800 × 800
Layersup to 20 per card
Text of a layerup to 200 characters, size from 8 to 240 px
FontPoppins, Poppins Bold, Bebas Neue, Anton, Pacifico, Lobster, Press Start 2P
Uploaded imagesPNG, JPEG, WebP or GIF up to 1 MB; at most 5 different ones per card
Server storage20 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

PlaceholderIn the messageIn the card text
%mention%Member mentionDisplay name
%username%UsernameSame
%displayname%Display name in the serverSame
%userid%User IDSame
%avatar%Avatar link, also in image fieldsNot available: use the Member avatar layer
%createdat%Account creation date, in the reader's formatDate DD/MM/YYYY
%server%Server nameSame
%serverid%Server IDSame
%servericon%Server icon link, also in image fieldsNot available: use the Server icon layer
%membercount%Member count, including whoever just joinedSame

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 permissionWhen it's neededIf it's missing
View Channel, Send MessagesChannel messageThe channel message isn't sent
Embed LinksEmbed (v1) formatThe channel message isn't sent
Attach FilesCard in the channelThe channel message isn't sent
Manage Roles, role above the ones to giveRolesThe 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

ProblemFix
Nothing arrivesCheck that the module is on and set up (no orange border)
The channel message doesn't arriveCheck the warnings in the panel and the permissions in the table above
The direct message doesn't arriveThe member has direct messages closed or has blocked MayaBot
The roles don't arriveMove MayaBot's role higher and give it Manage Roles
The roles arrive lateThe server uses Discord's membership screening: they arrive after the rules are accepted
%mention% doesn't notifyTurn 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 welcomeThat's normal: an immediate rejoin doesn't trigger a second message

On this page