Fix await for user_is_registered
This commit is contained in:
parent
a9e50c2c8e
commit
ceaabe3dac
@ -204,7 +204,7 @@ class Tracker(Extension):
|
||||
name="remove-alert", description="Remove an alert you have signed up for"
|
||||
)
|
||||
async def remove_alert(self, ctx: SlashContext):
|
||||
if not self._user_is_registered(ctx):
|
||||
if not await self._user_is_registered(ctx):
|
||||
return
|
||||
user = await self._users.get(ctx.user.id)
|
||||
alerts = await self._users.list_alerts(user)
|
||||
|
Loading…
Reference in New Issue
Block a user