@@ -115,7 +115,7 @@ def send(update, message, keyboard, backup_message):
115115def cas_banned (userid ):
116116 # Query cas
117117 try : # Just in case the CAS api endpoint goes down
118- response = req .get ("https://combot.org/api/cas/check?user_id=" + char (userid ))
118+ response = req .get ("https://combot.org/api/cas/check?user_id=" + str (userid ))
119119 response = response .json ()
120120 # if true the user should be banned
121121 if response ["ok" ] == True :
@@ -141,7 +141,7 @@ def new_member(bot: Bot, update: Update):
141141 # Give the owner a special welcome
142142 if new_mem .id == OWNER_ID :
143143 update .effective_message .reply_text (
144- "È arrivato il capooooo, diamo il via alla festa !"
144+ "Salve capo !"
145145 )
146146 continue
147147
@@ -361,7 +361,7 @@ def welcome(bot: Bot, update: Update, args: List[str]):
361361
362362 else :
363363 # idek what you're writing, say yes or no
364- update .effective_message .reply_text ("Capisco solo 'on /yes' o 'off/no '!" )
364+ update .effective_message .reply_text ("Capisco solo 'no /yes' o 'off/on '!" )
365365
366366
367367@run_async
@@ -408,11 +408,11 @@ def goodbye(bot: Bot, update: Update, args: List[str]):
408408
409409 elif args [0 ].lower () in ("off" , "no" ):
410410 sql .set_gdbye_preference (str (chat .id ), False )
411- update .effective_message .reply_text ("Se ne vanno? Saranno morte per me. " )
411+ update .effective_message .reply_text ("Quando un utente uscirà dal gruppo non intraprenderò nessuna azione! " )
412412
413413 else :
414414 # idek what you're writing, say yes or no
415- update .effective_message .reply_text ("Capisco solo 'on /yes' o 'off/no '!" )
415+ update .effective_message .reply_text ("Capisco solo 'no /yes' o 'off/on '!" )
416416
417417
418418@run_async
0 commit comments