mirror of
https://github.com/Steffo99/greed.git
synced 2024-11-29 00:54:18 +00:00
50 lines
No EOL
1.7 KiB
INI
50 lines
No EOL
1.7 KiB
INI
# greed configuration file
|
|
|
|
# Config file parameters
|
|
[Config]
|
|
; Config file version. DO NOT EDIT THIS!
|
|
version = 10
|
|
; Set this to no when you are done editing the file
|
|
is_template = yes
|
|
|
|
# Telegram bot parameters
|
|
[Telegram]
|
|
; Your bot token goes here. Get one from @BotFather!
|
|
token = 123456789:YOUR_TOKEN_GOES_HERE_______________
|
|
; Time in seconds before a conversation with no new messages expires
|
|
; A lower value reduces memory usage but can be inconvenient for the users
|
|
conversation_timeout = 7200
|
|
; Time to wait before sending another getUpdates request
|
|
long_polling_timeout = 30
|
|
|
|
# Database parameters
|
|
[Database]
|
|
; The database engine you want to use. Refer to http://docs.sqlalchemy.org/en/latest/core/engines.html for the possible settings.
|
|
engine = sqlite://
|
|
|
|
# General payment settings
|
|
[Payments]
|
|
# ISO currency code
|
|
currency = EUR
|
|
# Currency exp parameter. You can find that on https://core.telegram.org/bots/payments/currencies.json
|
|
currency_exp = 2
|
|
|
|
# Credit card payment settings
|
|
[Credit Card]
|
|
# Provider token: get the token at @BotFather
|
|
credit_card_token = 123456789:YOUR_TOKEN_HERE_
|
|
# Minimum wallet payment accepted (in miniumum currency units, $1.00 = 100 units)
|
|
min_amount = 1000
|
|
# Maximum wallet payment accepted (in miniumum currency units, $1.00 = 100 units)
|
|
max_amount = 10000
|
|
# Make the user pay a fee when loading the wallet with a credit card
|
|
# Credit card fee percentage (set to 0.0 to disable)
|
|
fee_percentage = 2.9
|
|
# Credit card fee fixed (in miniumum currency units, $1.00 = 100 units) (set to 0 to disable)
|
|
fee_fixed = 30
|
|
# Require the name of the user
|
|
name_required = yes
|
|
# Require the email of the user
|
|
email_required = yes
|
|
# Require the phone number of the user
|
|
phone_required = yes |