# Keeping chat active

# 1. Messages to liven up the chat and anecdotes.

If your chat has stopped communicating, the bot will help you dilute the silence in the chat in several ways. The minimum message sending interval is 20 minutes from the moment of the last chat message from the user. Here you can set this time, configure the sending of a chat revival message, or enable the sending of jokes. If you enable both options, messages will be sent randomly: either anecdote or your message. You can create 12 of your own texts to send.

# 2. Messages from the administrator

You can send a message every time in N minutes. The difference with the previous point is small: in the first case, the message will be sent only if no one writes. In the second case, it will be sent regularly.

# Please note that jokes in the chat will be sent in order with messages from the administrator!

# Gamification

There are several types of games in our bot. They will significantly increase the activity of participants. With the help of games, you can solve disputes, hold contests and just have fun.

A few words about each game:

  1. Western is a game in which, after the timer expires, it is necessary to find and select a gun (๐Ÿ”ซ) from all the displayed emoticons in time to kill the enemy. The winner gets a reputation.
  • The game is triggered by the word "Western" in response to a message

The loser will be kicked out of the chat, he will be able to log in for 1 minute

  1. **Roulette ** โ€“ the game consists in the fact that it is unknown in which of the shots there will be a cartridge. Both participants shoot themselves until someone has a cartridge. The winner gets a reputation.
  • The game is triggered by the word "Roulette" in response to a message

The loser will be kicked out of the chat, he will be able to log in for 1 minute

  1. **Duel ** is a game in which each of the players is given a choice of the body area in which he wants to shoot. The probability of a hit is 50/50. With each shot, if the player does not miss, the opponent's life decreases, this will be shown in the game messages. The player dies when hit in the head, or when life ends. The winner gets a reputation.
  • The game is triggered by the word "Duel" in response to a message

The loser will be kicked out of the chat, he will be able to log in for 1 minute

  1. **Showโ€“off ** is a game in which one user invites another to a duel and, in case of refusal, everyone will see that the participant was taken to the show-off and he chickened out, also the reputation is taken away from the user. If the player agrees, then he is recognized as a daredevil and his reputation increases.
  • The game is triggered by the word "Punt" in response to a message
  1. ** Tic-Tac-Toe * * is a classic tic-tac-toe game. You can choose both a standard field (3 ร— 3) and non-standard ones (4 ร— 8, 5 ร— 3, 6 ร— 6 and so on), where the first number is the width, and the second is the length.
  • The game is triggered by the word "XO" in response to a message. If you enter the field "XO" will be classic 3 by 3, If you enter the field "XO 4" will be classic 4 by 4, If you enter the field "XO 4 8" will be classic 4 by 8

The loser will be kicked out of the chat, he will be able to log in for 1 minute

# Activity Reports

Activate the toggle switch "Send a report on chat activity for the previous day/week/month" and you will receive a report on the chat every day at 9:00 (UTC).

The reports will be coming:

  • Every day (for the previous two days);
  • Every Monday (for the past week);
  • Every month (for the past month).
  • If the first day of the month falls on a Monday, a monthly report will be sent.

This is how the report looks like:

Values in the report:

Total โ€“ the number of participants in the chat
Online โ€“ the maximum number of online users for the period
Active users โ€“ the number of unique users who have written at least one message in the chat

Joined โ€“ the number of users who joined during the period
Out - the number of users who left during the period

Messages โ€“ the number of new messages for the period

  • The percentage difference in comparison with the previous period is shown in parentheses

# Data from cryptocurrency markets

Thanks to the charts, you can find out the current price, the daily minimum or maximum and the daily change in percentages.

To display graphs in your chat, enter the following commands:

/btc

/eth

/ccc btc

/crypto btc

/ccm - current trading volume

/cct - The 4 most popular cryptocurrencies

# Removing users who are not active

The function has two types: primary activity and secondary activity.

Deleting users who have not shown primary activity occurs after joining the chat.
You configure how much the user can be silent after joining

If you do not set the warning message, the user will be deleted immediately after the specified time

If you have configured a warning message, it will come after the time that you set for deleting the user
(According to the same scheme with the second warning message)

Then, after the same time, if the user does not write anything, the bot will remove him from the chat.

Deleting a user who has not shown secondary activity will delete it if he showed any activity, and then stopped.
Everything works here according to the same scheme as in the first case.