Skip to content

Commit

Permalink
add a shim for a renamed method
Browse files Browse the repository at this point in the history
  • Loading branch information
pvyParts committed May 25, 2024
1 parent 6b26569 commit 2f8d1fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions aadiscordbot/utils/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ def is_guild_managed(guild: Guild):
return _guild_is_core_module(guild.id) or _guild_is_dmv_module(guild.id)


def user_is_authenticated(user: User, guild: Guild):
logger.warning("user_is_authenticated is deprecated use is_user_authenticated instead")
return is_user_authenticated(user, guild)


def is_user_authenticated(user: User, guild: Guild):
"""
Return `True` if a discord user is authenticated to the
Expand Down

0 comments on commit 2f8d1fe

Please sign in to comment.