payloads.LevelUpPayload
Reference
- class levelling.LevelUpPayload(member: levelling.dataclass.LevellingMember, level: int, channel: discord.channel.TextChannel)
This class represents the dispatched payload when a Member levels up
- member
The Member who levelled up.
Note this is this packages member, you will need to fetch the member object yourself to get a
discord.Member
object- Type
- level
The new level of the Member levelling up
- Type
int
- channel
The channel the message that triggered a level up occurred in
- Type
discord.TextChannel
- guild
The LevellingGuild for the member levelling up
- Type
discord.Guild
Notes
This is not initialized by you.