Steffo99 / greed

Customizable, multilanguage Telegram shop bot with Payments support
GNU Affero General Public License v3.0
523 stars 258 forks source link

Feature: Allow disabling cash payments #188

Closed cpbreeze closed 1 year ago

cpbreeze commented 1 year ago

Describe the proposed feature

I noticed that if you change in the config/config.toml credit_card_token = "" The credit card option disappears from the users' menu, is there a way to remove the cash as well?

Amazing job by the way, thank you so much for this bot, sir.

Reasoning

No response

Additional information

No response

cpbreeze commented 1 year ago

ok, I found the solution, just comment following line in the worker.py file:

#keyboard.append([telegram.KeyboardButton(self.loc.get("menu_cash"))])

thanks again for the bot sir!

skintgang1 commented 1 year ago

Hey bro I'm wondering if you can help me set this up? I'll pay you for your time, what's your telegram?

Steffo99 commented 1 year ago

I'll pay you for your time

You intend to sponsor this issue...?

What's your telegram?

Please do not message me on Telegram for issues related to Greed.

cpbreeze commented 1 year ago

sure, what do you need? my telegram https://t.me/cpbreezeteach

Sent with Proton Mail secure email.

------- Original Message ------- On Tuesday, November 8th, 2022 at 11:12 AM, skintgang1 @.***> wrote:

Hey bro I'm wondering if you can help me set this up? I'll pay you for your time, what's your telegram?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Steffo99 commented 1 year ago

sure, what do you need? my telegram https://t.me/cpbreezeteach

My reply wasn't directed to you, but to @skintgang1...

However, I went on and implemented your request anyways for free in #190 :D