From 46fd77a2e238649de0765575262e6492b4a1fe1d Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Mon, 1 Mar 2021 17:13:00 +0100 Subject: [PATCH] AIRTABLE_API_KEY --- setup-scripts/blocklist-airtable.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup-scripts/blocklist-airtable.py b/setup-scripts/blocklist-airtable.py index 5c7b2b7f..cf1872d8 100755 --- a/setup-scripts/blocklist-airtable.py +++ b/setup-scripts/blocklist-airtable.py @@ -3,13 +3,13 @@ import traceback, os, asyncio, requests, json, discord from bot_utils import setup, send_msg +bot_token = setup() +client = discord.Client() + AIRTABLE_TABLE = "app89plJvA9EqTJEc" AIRTABLE_FIELD = "Link" AIRTABLE_API_KEY = os.getenv('AIRTABLE_API_KEY') -bot_token = setup() -client = discord.Client() - async def block_skylinks_from_airtable(): print("Pulling blocked skylinks from airtable via api integration") headers = { "Authorization": "Bearer " + AIRTABLE_API_KEY }