haykam821 / ShortcutsPreview

A multiplatform bot for showing the details of Shortcuts when linked by their iCloud URL.
MIT License
33 stars 5 forks source link

Remove .env support #5

Open haykam821 opened 6 years ago

haykam821 commented 6 years ago

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

Hacksore commented 6 years ago

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"
    }
}
haykam821 commented 6 years ago

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

Hacksore commented 1 year ago

@haykam821 can we please close this?