ShortcutsPreview
ShortcutsPreview copied to clipboard
Remove .env support
Support for .env
has been deprecated since 37a436a955c8c165a617d05806cc463ebf7af227. It works with the new config system, although specifying something in config.json
overrides it.
Not sure if this is a separate issue but when running my instance I could not get the bot to run reddit without the following additional config item.
This might just be a documentation issue?
Added the refreshToken
{
"global": {
"enabled": true
},
"reddit": {
"credentials": {
"clientId": "xD",
"clientSecret": "xD",
"refreshToken": "xD"
}
},
"discord": {
"token": "xD"
}
}
@Hacksore Yes, that is just bad documentation. I have made a pull request, #8, to enhance the documentation for the config.
@haykam821 can we please close this?