Definition
extractUserName(user)
Extracts the username from an argument that is possibly an object containing that name.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
user | UserNameResolvable A user name or a user or channel object. Aliased type: string | UserNameResolveableType | none | The username or object. |
Return type: string