AIRTABLE_API_KEY

This commit is contained in:
Karol Wypchlo 2021-03-01 17:13:00 +01:00
parent cfd74fc26e
commit 46fd77a2e2
1 changed files with 3 additions and 3 deletions

View File

@ -3,13 +3,13 @@
import traceback, os, asyncio, requests, json, discord import traceback, os, asyncio, requests, json, discord
from bot_utils import setup, send_msg from bot_utils import setup, send_msg
bot_token = setup()
client = discord.Client()
AIRTABLE_TABLE = "app89plJvA9EqTJEc" AIRTABLE_TABLE = "app89plJvA9EqTJEc"
AIRTABLE_FIELD = "Link" AIRTABLE_FIELD = "Link"
AIRTABLE_API_KEY = os.getenv('AIRTABLE_API_KEY') AIRTABLE_API_KEY = os.getenv('AIRTABLE_API_KEY')
bot_token = setup()
client = discord.Client()
async def block_skylinks_from_airtable(): async def block_skylinks_from_airtable():
print("Pulling blocked skylinks from airtable via api integration") print("Pulling blocked skylinks from airtable via api integration")
headers = { "Authorization": "Bearer " + AIRTABLE_API_KEY } headers = { "Authorization": "Bearer " + AIRTABLE_API_KEY }