Skip to content

Commit 5aa1049

Browse files
committed
fix: Context.is_premium logic
1 parent 5b8d39e commit 5aa1049

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ async def is_premium(self) -> bool:
116116
[
117117
_
118118
async for _ in self.bot.entitlements(
119-
user=self.author, guild=self.guild, skus=[discord.Object(PREMIUM_SKU_ID)]
119+
guild=self.guild, skus=[discord.Object(PREMIUM_SKU_ID)],
120120
)
121121
]
122122
)

0 commit comments

Comments
 (0)