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

Allow single config file #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Allow single config file #1

wants to merge 1 commit into from

Conversation

sushinoya
Copy link
Contributor

This PR aims to abstract away the API Token and other necessary settings into a config file which will be .gitignored. The issue is that the controllers are failing to import Database and so I am not merging the changes into master

For the config file, I have used yaml and currently the file (config.yml) only has:

telegram:
    TOKEN: 452146569:AAEdRQMubxBqRpSWYFs931wnUFja8vdHIIQ

database:
    file: paybot.sqlite

After this PR is merged, we should reset the token and not use it in any file except for config.yml

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

Successfully merging this pull request may close these issues.

1 participant