all repos — python-meme-bot @ 40c83258dcc1ec16822e667287b4415380300b69

Telegram Bot that uses PIL to compute light image processing.

quick fix
Marco Andronaco andronacomarco@gmail.com
Mon, 12 Sep 2022 03:09:44 +0200
commit

40c83258dcc1ec16822e667287b4415380300b69

parent

e11e33a9f3ccc4aec435d101110c5a6c19d86faf

1 files changed, 1 insertions(+), 12 deletions(-)

jump to
M Games.pyGames.py

@@ -5,7 +5,7 @@ import Constants as c

import time lastreset_default = date(1970, 1, 1) -saldo_default = 10000 +saldo_default = 5000 bet_default = 50 slot_emoji = '🎰'

@@ -106,14 +106,3 @@

result = "Hai giocato {}€ e vinto un totale di {}€".format(count * bet, total_win / 100) markup = "" #InlineKeyboardMarkup([[InlineKeyboardButton(text="Altri {} spin (-{}€)".format(amount, bet * amount), callback_data="callback_2")]]) context.bot.send_message(chat_id=update.effective_chat.id, text=result, reply_markup=markup) - - - - -def spin_5(update: Update, context: CallbackContext): - bet = get_bet(context) / 100 - amount = 5 - - markup = InlineKeyboardMarkup([[InlineKeyboardButton(text="Altri {} spin (-{}€)".format(amount, bet * amount), callback_data="callback_2")]]) - - _autospin(context=context, id=update.effective_chat.id, amount=5, markup=markup)