-
Notifications
You must be signed in to change notification settings - Fork 195
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
feat: default ban reason #420
base: master
Are you sure you want to change the base?
Conversation
After putting some more thought into this pull request, why limit this to just ban reasons? Why not add something like a |
I've added the said object, the only issue atm is that it's not a string in the docs and I don't know why |
5ce01c8
to
ed5214d
Compare
mute: z.string(), | ||
kick: z.string(), | ||
ban: z.string(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of limiting the reason in formatReasonWithAttachments
it might be better to do it here
This adds a default ban reason, as no DM was sent before if no reason was specified.
The default reason can be changed through the option default_ban_reason