Welcome bot

This bot greeting all new members in chat and say "Good morning" every day.

Good morning every day

We use Auto Retryarrow-up-right for this. Every 50 minutes we check time. If current hour is 6 AM - bot send greeting message to all chat.

circle-info

Auto retry run periodically.

We have 50 minutes - so we iterate every hour without repeating.

Set 3000 to Auto Retry:

Users can not run this command.

Bot send message to ALL chats. If user run this command at 6 AM - bot send message too!

We need check for auto retry only. Auto Retry do not have chat variable. Execution breaks if chat exist.

Then other code:

Greeting all new member

We use Master commad "*" for this. it capture all messages.

Request can have information about new members:

We need build greetings for all users:

User can have username or first name. Or have not:

All code:

Last updated