~sara/openverse-slack-reaction

942a41261c3dba0adf19cbc82303c0c393fe3fc8 — sarayourfriend 1 year, 11 months ago a239287
Fix OAuth scopes
1 files changed, 7 insertions(+), 1 deletions(-)

M openverse_react.py
M openverse_react.py => openverse_react.py +7 -1
@@ 35,7 35,13 @@ openverse = Openverse(openverse_api_base_url, api_key=openverse_api_key)
oauth_settings = AsyncOAuthSettings(
    client_id=os.environ["SLACK_CLIENT_ID"],
    client_secret=os.environ["SLACK_CLIENT_SECRET"],
    scopes=["channels:read", "groups:read", "chat:write"],
    scopes=[
        "chat:write",
        "chat:write.customize",
        "chat:write.public",
        "commands",
        "users:read",
    ],
    installation_store=FileInstallationStore(
        base_dir=Path.cwd() / "data" / "installations"
    ),