author_rename decorator and the Message author specification at message creation.
Method 1: author_rename
Useful for renaming the author of a message dynamically during the message handling process.Parameters
str
required
The original author name.
Returns
str
required
The renamed author