diff --git a/overpass/auth.py b/overpass/auth.py index 433d083..b933c64 100644 --- a/overpass/auth.py +++ b/overpass/auth.py @@ -19,7 +19,7 @@ def verify(): """ Verifies if user exists in the Discord guild """ guilds = discord.fetch_guilds() - user_is_in_guild = next((i for i in guilds if i.id == DISCORD_GUILD_ID), False) + user_is_in_guild = next((i for i in guilds if i.id == int(DISCORD_GUILD_ID)), False) if user_is_in_guild: return True diff --git a/pyproject.toml b/pyproject.toml index a894b7e..41214a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "overpass" -version = "0.2.0" +version = "0.2.1" description = "A self-hosted streaming platform with Discord authentication, auto-recording and more!" authors = ["GOATS2K "]