Dragory / modmailbot

Modmail Bot is a bot for Discord that makes it easier for users to contact moderators and admins for help.
MIT License
708 stars 706 forks source link

!blocklist #798

Closed Pearl8520 closed 6 months ago

Pearl8520 commented 6 months ago

Would be nice to have a command to view all the users that are blocked from messaging the bot

Akinator31 commented 6 months ago

I added it in my last pull request. You can get the code to use it because I don't think the pull request will be accepted quickly.

Pull request

Pearl8520 commented 6 months ago

Epic ty

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: Pavel DE WAVRECHIN @.> Sent: Tuesday, May 28, 2024 7:38:42 AM To: Dragory/modmailbot @.> Cc: Pearl @.>; Author @.> Subject: Re: [Dragory/modmailbot] !blocklist (Issue #798)

I added it in my last pull request. You can get the code to use it because I don't think the pull request will be accepted quickly.

Pull requesthttps://github.com/Dragory/modmailbot/pull/799

— Reply to this email directly, view it on GitHubhttps://github.com/Dragory/modmailbot/issues/798#issuecomment-2134451655, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIOQZYSPKXMMUDM4SYBSH6TZEQQ7FAVCNFSM6AAAAABIJVV74GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZUGQ2TCNRVGU. You are receiving this because you authored the thread.Message ID: @.***>

Pearl8520 commented 6 months ago

!blocked doesnt work despite adding the code

Akinator31 commented 6 months ago

It works, but you need to specify the blocking time.

Like : !block [id of user] [time]

Otherwise, the user is blocked but the bot crashes

Pearl8520 commented 6 months ago

Block works fine, it's the blocklist command that doesn't work

Pearl8520 commented 6 months ago

Nvm, it works now (not entirely sure what I did but I did something)

Akinator31 commented 6 months ago

Ok perfect, let me know if you find a problem again ;)

Pearl8520 commented 6 months ago

Deal, tyvm!

Pearl8520 commented 6 months ago

What's your discord username btw? That way I can contact you directly on discord rather than here on GitHub just so I can close this repo

Akinator31 commented 6 months ago

Yes sure ! It's akinator31