Skip to content
Discussion options

You must be logged in to vote

Hello, I would probably check this using the on_message listener and wait for a MessageType equal to 8 (premium_guild_subscription), which already identifies the messages announcing boost on the server, something like this:

@commands.Cog.listener()
async def on_message(self, message):
    if message.type == discord.MessageType.premium_guild_subscription:
        booster = message.author

This is the best way I can see to do what you want

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Florararie
Comment options

Answer selected by Florararie
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants