Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modMail.muteConversation's numHours parameter is ignored #70

Open
fsvreddit opened this issue May 30, 2024 · 0 comments
Open

modMail.muteConversation's numHours parameter is ignored #70

fsvreddit opened this issue May 30, 2024 · 0 comments
Labels
bug synced This issue has been added to our internal tracker

Comments

@fsvreddit
Copy link
Contributor

Regardless of the number passed in as numHours, the user will be muted for three days.

    await context.reddit.modMail.muteConversation({
        conversationId: "1xkchm",
        numHours: 7 * 24,
    });

The API docs state that the method accepts values 72, 168 and 672 for 3, 7 and 28 days respectively.

@pl00h pl00h added bug synced This issue has been added to our internal tracker labels Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug synced This issue has been added to our internal tracker
Development

No branches or pull requests

2 participants