config: New config scheme

This commit adds 3 main changes:
- Modified the default config.ini filename to config.example.ini
- Added new configs for PostgreSQL
- Modified .gitignore to include vim swapfiles and production config
  files
This commit is contained in:
Lux Aliaga 2022-03-09 03:36:02 -03:00
parent b2297efcdb
commit c59c8f8aa4
3 changed files with 18 additions and 9 deletions

2
.gitignore vendored
View file

@ -1 +1,3 @@
__pycache__ __pycache__
config.ini
*.swp

15
config.example.ini Normal file
View file

@ -0,0 +1,15 @@
[Bot]
Token =
Status =
[Database]
Database =
User =
Password =
Host =
Port =
[Channels]
MemberLogs =
ModLogs =
Skynet =

View file

@ -1,8 +0,0 @@
[Bot]
Token=
Status=
[Channels]
MemberLogs =
ModLogs =
Skynet =