We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ee98ee9 + e840be5 commit 00e0f27Copy full SHA for 00e0f27
1 file changed
tg_bot/modules/welcome.py
@@ -255,9 +255,8 @@ def new_member(bot: Bot, update: Update):
255
else:
256
# Kicking the user because of the username
257
user_id = new_mem.id
258
+ message.reply_text("L'utente non ha uno username, quindi verrà rimosso.")
259
chat.kick_member(user_id, until_date=time.time() + 300)
- bot.send_sticker(chat.id, BAN_STICKER) # banhammer electus sticker
260
- message.reply_text("L'utente non ha uno username, quindi è stato rimosso.")
261
262
prev_welc = sql.get_clean_pref(chat.id)
263
if prev_welc:
0 commit comments