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:
parent
b2297efcdb
commit
c59c8f8aa4
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1,3 @@
|
||||||
__pycache__
|
__pycache__
|
||||||
|
config.ini
|
||||||
|
*.swp
|
||||||
|
|
15
config.example.ini
Normal file
15
config.example.ini
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[Bot]
|
||||||
|
Token =
|
||||||
|
Status =
|
||||||
|
|
||||||
|
[Database]
|
||||||
|
Database =
|
||||||
|
User =
|
||||||
|
Password =
|
||||||
|
Host =
|
||||||
|
Port =
|
||||||
|
|
||||||
|
[Channels]
|
||||||
|
MemberLogs =
|
||||||
|
ModLogs =
|
||||||
|
Skynet =
|
|
@ -1,8 +0,0 @@
|
||||||
[Bot]
|
|
||||||
Token=
|
|
||||||
Status=
|
|
||||||
|
|
||||||
[Channels]
|
|
||||||
MemberLogs =
|
|
||||||
ModLogs =
|
|
||||||
Skynet =
|
|
Loading…
Reference in a new issue