aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2021-01-25Removed the blank lines from __init__ functionGravatar Inheritance-1/+0
2021-01-25Removed the import of helper interpreterGravatar Inheritance-1/+0
2021-01-25Removed self.interpreter from internal cog, and deleted the interpreter ↵Gravatar Inheritance-52/+0
helper file
2021-01-24Fixed python_general const in server commandGravatar Boris Muratov-1/+1
2021-01-24Reorganizes constants.pyGravatar Hassan Abouelela-98/+111
Mirrors the changes from config-default.yml to constants.py.
2021-01-24Reorganizes ConfigGravatar Hassan Abouelela-92/+90
2021-01-24Remove redundant parenthesis.Gravatar kosayoda-3/+3
2021-01-23Handle unloaded cogs when retrieving server info.Gravatar kosayoda-9/+16
2021-01-23Reduce unnecessary line splits and parameters.Gravatar kosayoda-12/+6
2021-01-23Use helper function to determine mod channel.Gravatar kosayoda-1/+1
2021-01-23Extract `is_staff_channel` to a utility function.Gravatar kosayoda-18/+19
2021-01-22Do `is_helper_viewable` check before fetching messageGravatar Anand Krishna-3/+3
2021-01-22Use the SVG badge on the READMEGravatar Matteo Bertucci-1/+1
2021-01-22Update badges on the README fileGravatar Matteo Bertucci-4/+3
2021-01-21Fix aliases of shadow tempbanGravatar Joe Banks-1/+1
2021-01-21Added slowmode tracking to dpy and ot0Gravatar Boris Muratov-2/+12
2021-01-21Changed slowmode reset testsGravatar mbaruh-12/+4
2021-01-21Added slowmode stat for python-general.Gravatar mbaruh-4/+8
2021-01-21Slowmode reset now uses slowmode setGravatar mbaruh-10/+1
2021-01-20Make type hints uniform across fileGravatar Anand Krishna-2/+2
2021-01-20Duck Pond: Add `is_helper_viewable` checkGravatar Anand Krishna-1/+16
2021-01-20Prevent bot from sending DMs to itselfGravatar Joe Banks-0/+4
Fixes BOT-KX
2021-01-20Remove incorrect pointGravatar Chris-1/+0
2021-01-20Apply suggestions from code review Gravatar ChrisJL-2/+2
Grammar Co-authored-by: Mark <[email protected]>
2021-01-19Add a section on why to use a virtual envGravatar Chris-3/+12
2021-01-19Fix urlGravatar Chris-1/+1
2021-01-19grammar and spelling fixesGravatar Chris-18/+18
2021-01-19Remove additional embed messageGravatar Boris Muratov-9/+1
2021-01-19Replace in_whitelist check with commands.has_any_role checkGravatar ks129-2/+1
in_whitelist allow normal users also run commands in bot commands, but branding commands should be mod+ only, so we need to use has_any_role instead from discord.py.
2021-01-18Sync: test chunking of user requestsGravatar MarkKoz-11/+18
2021-01-18Sync: chunk user requestsGravatar MarkKoz-2/+8
The site can't handle huge syncs. Even a bulk patch of 10k users will crash the service. Chunk the requests into groups of 1000 users and await them sequentially. Testing showed that concurrent requests are not scalable and would also crash the service.
2021-01-18Update config-default.ymlGravatar Boris Muratov-0/+4
Whitelisted mod_meta and mod_tools as mod channels
2021-01-17Stop Tag Matching On SuggestionGravatar Hassan Abouelela-6/+1
2021-01-17Checks If Similar Command Is NoneGravatar Hassan Abouelela-0/+3
2021-01-17Adds Return On Tag MatchesGravatar Hassan Abouelela-4/+9
2021-01-17Update to use Member.pending instead of bot.http.get_memberGravatar Joe Banks-3/+1
2021-01-16Removed 'Channels' import, unused.Gravatar xithrius-1/+1
2021-01-16Relock PipfileGravatar Karlis S-17/+7
2021-01-16Add startup and daemon tasks canceling on cog unloadGravatar ks129-0/+6
2021-01-16Remove unwatch reason from the !nominate outputGravatar Matteo Bertucci-2/+1
As the watch reason can contain private information, we shouldn't share it with the whole staff.
2021-01-15Remove unverified member information.Gravatar kosayoda-4/+1
We do not have the Developers role anymore, so there's no such thing as verified/unverified members.
2021-01-11Update discord.py to the 1.6 releaseGravatar MarkKoz-17/+27
2021-01-11Annihilate all traces of Developer and Unverified rolesGravatar mbaruh-720/+14
2021-01-10Make sure that users without the Developers role can use tag.Gravatar Matteo Bertucci-2/+2
We have a check in place to restrict tag usage to a certain role, but our default is the Developers role, and some users now don't have this code. This commit fixes this by using None as a default and adding a truth test in the check_accessibility method.
2021-01-08Upped duckpond threshold to 5Gravatar Boris Muratov-1/+1
2021-01-06Only helpers and below now get command suggestionsGravatar xithrius-2/+2
2021-01-06Fix BrandingError import in error handlerGravatar ks129-1/+2
2021-01-06Add startup task that starts daemon to branding cogGravatar ks129-4/+5
2021-01-06Fix seasons file import orderGravatar ks129-2/+2
2021-01-06Add missing docstring to Month enumGravatar ks129-0/+2