vo0ov
@vo0ov
Кодер на python

Снять мут в disnake.py?

Выдать мут можно так:
await member.timeout(duration=duration, reason=reason)


А как его снять? Заранее спасибо!
  • Вопрос задан
  • 129 просмотров
Решения вопроса 1
Документация

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)
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы