Skip to content

Commit

Permalink
PR fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
karntrehan committed Oct 1, 2024
1 parent 50a94de commit 73b9251
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Bot Token:
TOKEN=
SERVER_ID=
INTRODUCTIONS_CHANNEL=
Expand All @@ -10,6 +9,6 @@ WEBHOOK_URL=

GITHUB_AUTHENTICATION_URL=

#SUPABASE_URL=
#SUPABASE_KEY=
#VERIFIED_ROLE_ID=
SUPABASE_URL=
SUPABASE_KEY=
VERIFIED_ROLE_ID=
3 changes: 0 additions & 3 deletions helpers/supabaseClient.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import os

from discord import Member, User
import dotenv
from supabase import Client, create_client

from helpers.roleHelpers import lookForRoles

dotenv.load_dotenv(".env")

class SupabaseClient:
def __init__(self, url=None, key=None) -> None:
self.supabase_url = url if url else os.getenv("SUPABASE_URL")
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ async def load():
async def main():
async with client:
await load()
await client.start(os.getenv("TESTING_TOKEN"))
await client.start(os.getenv("TOKEN"))


asyncio.run(main())

0 comments on commit 73b9251

Please sign in to comment.