await member.timeout(duration=duration, reason=reason)
await timeout(*, duration=..., until=..., reason=None)[source]¶
Times out the member from the guild; until then, the member will not be able to interact with the guild.
Exactly one of duration or until must be provided. To remove a timeout, set one of the parameters to None.
await member.timeout(duration=None, reason=reason)