Get Started - Learn How To Make Your Bot!
List of all currently Free Items
Added on version 23.1.0b1
on_emote(self, user: User, emote_id: str, receiver: User | None) -> None
Called when an emote is received.
This method can be use to get an emote_id, the User class of the sender and the User class of the receiver if there’s one.
async def on_emote(self, user: User, emote_id: str, receiver: User | None) -> None:
print(f"{user.username} emoted: {emote_id}")
In this case we will print the username of the sender and the emote_id on the terminal: