Welcomes/Goodbyes

Individual generated message
Your group's welcome/goodbye messages can be personalised in multiple ways. If you want the messages to be individually generated, like the default welcome message is, you can use these variables:
- {first}: this represents the user's first name
- {last}: this represents the user's last name. Defaults to first name if user has no last name.
- {fullname}: this represents the user's full name. Defaults to first name if user has no last name.
- {username}: this represents the user's username. Defaults to a mention of the user's first name if has no username.
- {mention}: this simply mentions a user - tagging them with their first name.
- {id}: this represents the user's id
- {count}: this represents the user's member number.
- {chatname}: this represents the current chat name.
Each variable MUST be surrounded by {} to be replaced. Welcome messages also support markdown, so you can make any elements bold/italic/code/links. Buttons are also supported, so you can make your welcomes look awesome with some nice intro buttons. To create a button linking to your rules, use this: [Rules](buttonurl://t.me/karatekbot?start=group_id)
. Simply replace group_id
with your group's id, which can be obtained via /id
, and you're good to go. Note that group ids are usually preceded by a - sign; this is required, so please don't remove it. If you're feeling fun, you can even set images/gifs/videos/voice messages as the welcome message by replying to the desired media, and calling /setwelcome
. If you need more help, see /welcomehelp
.
Managing welcome messages
You can toggle welcome messages by using /welcome <on/off>
. Running /welcome
without arguments will print the current welcome settings. Executing /welcome noformat
shows the current welcome settings, without the formatting - useful to recycle your welcome messages!
Managing goodbye messages
See 'Welcome messages', since the usage is the same.
Restoring default settings
Using /resetwelcome
and /resetgoodbye
resets to the default messages.
Auto delete welcome messages.
You can toggle this feature with /cleanwelcome <on/off>
. On new member, this tris to delete the previous welcome message to avoid spamming the chat.