Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Allow disabling cash payments #188

Closed
cpbreeze opened this issue Oct 25, 2022 · 5 comments · Fixed by #190
Closed

Feature: Allow disabling cash payments #188

cpbreeze opened this issue Oct 25, 2022 · 5 comments · Fixed by #190
Labels
feature A request for a new feature.

Comments

@cpbreeze
Copy link

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 cpbreeze added the feature A request for a new feature. label Oct 25, 2022
@cpbreeze
Copy link
Author

cpbreeze commented Oct 25, 2022

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!

@Steffo99 Steffo99 changed the title Feature: is there a way to remove the cash payment option? Feature: Allow disabling cash payments Oct 25, 2022
@skintgang1
Copy link

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
Copy link
Owner

Steffo99 commented Nov 8, 2022

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
Copy link
Author

cpbreeze commented Nov 19, 2022 via email

@Steffo99
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A request for a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants