aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2021-02-25Instructions to dispute an infraction vary by infraction type.Gravatar swfarnsworth-24/+26
Previously, the user was instructed to email the appeals email for infraction types that don't remove one from the server. They are now instructed to DM ModMail except for Ban-type infractions. Also removed the URL string literal from the hyperlink to that URL.
2021-02-23Fixes Problems With Help Channel DMGravatar Hassan Abouelela-6/+7
Signed-off-by: Hassan Abouelela <[email protected]>
2021-02-23Use textwrap.shorten instead of custom functionGravatar Gustav Odinger-11/+4
This applies to the help channel DM embed, where the user is sent a truncated version of their message.
2021-02-23Update embed field title to be more formalGravatar Gustav Odinger-1/+1
2021-02-23Send DM when user claims help channelGravatar Gustav Odinger-0/+1
2021-02-23Add green question mark to default configGravatar Gustav Odinger-0/+2
Add green question mark to default config Add green question mark to config
2021-02-23Add function to DM users when opening help channelGravatar Gustav Odinger-0/+33
2021-02-23Add truncate_message utilGravatar Gustav Odinger-0/+9
2021-02-21Update max available channels to 3Gravatar Joe Banks-1/+1
Partially resolves #1427
2021-02-21Update token remover unittestsGravatar Matteo Bertucci-2/+2
2021-02-21Ping the mods if a token present in the server is found no matter the kindGravatar Matteo Bertucci-1/+1
2021-02-21Show the last three characters of censored tokensGravatar Matteo Bertucci-1/+1
2021-02-20Set max attachment from 3 -> 6Gravatar ks129-1/+1
2021-02-20Update CODEOWNERSGravatar Boris Muratov-1/+5
2021-02-20Remove attachments check in duplicates filterGravatar ks129-1/+1
2021-02-19Delete free.mdGravatar Senjan21-5/+0
Reasoning behind this is it is rarely used and when its used its often just to test something or as an attempt to close a help channel.
2021-02-14Update DockerfileGravatar Joe Banks-1/+1
2021-02-13Made flake8 even happier.Gravatar xithrius-1/+1
2021-02-13Escaping markdown in all fields that are created.Gravatar xithrius-1/+2
2021-02-13Move Git SHA defining at end of Dockerfile to re-enable cachingGravatar ks129-5/+7
Defining SHA at the beginning of build breaks caching, so this should be avoided.
2021-02-12Taking only the first line of multiline fields.Gravatar xithrius-2/+7
2021-02-12Rotating colours in embed, title now links to package.Gravatar xithrius-5/+12
2021-02-12Added colours yellow, blue, and white.Gravatar xithrius-6/+12
2021-02-12Made docstring more specific.Gravatar Xithrius-1/+1
Co-authored-by: Shivansh-007 <[email protected]>
2021-02-12Moved hyperlink to title.Gravatar xithrius-2/+2
2021-02-12Finalized logic to account for null cases.Gravatar xithrius-3/+3
2021-02-12Accounting for completely empty fields that only contain whitespaces.Gravatar xithrius-1/+2
2021-02-12Empty fields have been accounted for by getting usually non-empty ones.Gravatar xithrius-7/+8
2021-02-11Made flake8 very happy.Gravatar xithrius-2/+2
2021-02-11Added more fields and responses.Gravatar xithrius-5/+25