ShortcutsPreview icon indicating copy to clipboard operation
ShortcutsPreview copied to clipboard

Remove .env support

Open haykam821 opened this issue 6 years ago • 3 comments

Support for .env has been deprecated since 37a436a955c8c165a617d05806cc463ebf7af227. It works with the new config system, although specifying something in config.json overrides it.

haykam821 avatar Sep 22 '18 22:09 haykam821

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 avatar Sep 28 '18 12:09 Hacksore

@Hacksore Yes, that is just bad documentation. I have made a pull request, #8, to enhance the documentation for the config.

haykam821 avatar Sep 28 '18 13:09 haykam821

@haykam821 can we please close this?

Hacksore avatar Jun 17 '23 17:06 Hacksore