aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | | | | | | | | | | | Use basic scorer to fuzz a bit stricter.Gravatar kosayoda2020-10-01-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents weird fuzz matches like `!role a b c d` working.
| | * | | | | | | | | | | | Fuzzy match roles for `!role` command.Gravatar kosayoda2020-10-01-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An arbitrary cutoff score of 80 is chosen because it works. A bug in the test for the same command is also fixed.
| | | | | * | | | | | | | | Changed slowmode reset testsGravatar mbaruh2021-01-21-12/+4
| | | | | | | | | | | | | |
| | | | | * | | | | | | | | Added slowmode stat for python-general.Gravatar mbaruh2021-01-21-4/+8
| | | | | | | | | | | | | |
| | | | | * | | | | | | | | Slowmode reset now uses slowmode setGravatar mbaruh2021-01-21-10/+1
| | |_|_|/ / / / / / / / / | |/| | | | | | | | | | |
| * | | | | | | | | | | | Prevent bot from sending DMs to itselfGravatar Joe Banks2021-01-20-0/+4
| | |_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes BOT-KX
| * | | | | | | | | | | Merge pull request #1188 from ks129/help-disabled-commandGravatar Xithrius2021-01-19-4/+13
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | Help: Add handling of disabled commands to avoid DisabledCommand error
| | * | | | | | | | | | Merge branch 'master' into help-disabled-commandGravatar Xithrius2021-01-19-2857/+3834
| | |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | | | | | | | |
| * | | | | | | | | | | Merge pull request #1368 from python-discord/mbaruh/filtersGravatar Boris Muratov2021-01-19-9/+1
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | Remove additional embed message
| | * | | | | | | | | | Remove additional embed messageGravatar Boris Muratov2021-01-19-9/+1
| |/ / / / / / / / / /
| * | | | | | | | | | Replace in_whitelist check with commands.has_any_role checkGravatar ks1292021-01-19-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.
| * | | | | | | | | | Merge pull request #1367 from ↵Gravatar Dennis Pham2021-01-18-13/+26
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/bug/backend/bot-4x/chunk-sync-requests Sync: chunk user requests
| | * | | | | | | | | | Sync: test chunking of user requestsGravatar MarkKoz2021-01-18-11/+18
| | | | | | | | | | | |
| | * | | | | | | | | | Sync: chunk user requestsGravatar MarkKoz2021-01-18-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.
| * | | | | | | | | | Merge PR #1289 - add branding managerGravatar Mark2021-01-18-19/+872
| |\ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ Merge branch 'master' into branding-managerGravatar Mark2021-01-18-6/+5
| | |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | | | | | | | |
| * | | | | | | | | | | Update config-default.ymlGravatar Boris Muratov2021-01-18-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whitelisted mod_meta and mod_tools as mod channels
| * | | | | | | | | | | Merge pull request #1364 from HassanAbouelela/fix_suggestion_tagsGravatar Xithrius2021-01-17-6/+1
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Fix ZeroDivisionError In Error Handler
| | * | | | | | | | | | | Stop Tag Matching On SuggestionGravatar Hassan Abouelela2021-01-17-6/+1
| |/ / / / / / / / / / /
| | * | | | | | | | | | Merge branch 'master' into branding-managerGravatar ks1292021-01-17-15/+74
| | |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | | | | | | | |
| * | | | | | | | | | | Merge pull request #1360 from HassanAbouelela/fixes_tag_suggestionsGravatar Dennis Pham2021-01-17-4/+12
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes Error Handler Tag Dispatching
| | * | | | | | | | | | | Checks If Similar Command Is NoneGravatar Hassan Abouelela2021-01-17-0/+3
| | | | | | | | | | | | |
| | * | | | | | | | | | | Adds Return On Tag MatchesGravatar Hassan Abouelela2021-01-17-4/+9
| |/ / / / / / / / / / /
| * | | | | | | | | | | Update to use Member.pending instead of bot.http.get_memberGravatar Joe Banks2021-01-17-3/+1
| | | | | | | | | | | |
| * | | | | | | | | | | Merge pull request #760 from python-discord/feat/F4zi/CommandSuggestionGravatar Xithrius2021-01-16-9/+63
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Feature: suggest command usage for misspelt commands
| | * | | | | | | | | | | Removed 'Channels' import, unused.Gravatar xithrius2021-01-16-1/+1
| | | | | | | | | | | | |
| | * | | | | | | | | | | Merge branch 'master' into feat/F4zi/CommandSuggestionGravatar Xithrius2021-01-16-751/+58
| | |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | |/| | | | | | | | | | |
| * | | | | | | | | | | | Merge pull request #1354 from python-discord/remove-unnomiation-reasonGravatar Xithrius2021-01-16-2/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / / / / | |/| | | | | | | | | | | Remove unwatch reason from the !nominate output
| | * | | | | | | | | | | Remove unwatch reason from the !nominate outputGravatar Matteo Bertucci2021-01-16-2/+1
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As the watch reason can contain private information, we shouldn't share it with the whole staff.
| | * | | | | | | | | | Only helpers and below now get command suggestionsGravatar xithrius2021-01-06-2/+2
| | | | | | | | | | | |
| | * | | | | | | | | | If user is a staff member, no command suggestions.Gravatar xithrius2021-01-05-6/+7
| | | | | | | | | | | |
| | * | | | | | | | | | Removed possibility of exception via walrus.Gravatar xithrius2021-01-02-16/+16
| | | | | | | | | | | |
| | * | | | | | | | | | Rebased after a long time of being abandonGravatar xithrius2021-01-02-8062/+19057
| | |\ \ \ \ \ \ \ \ \ \ | | | | |_|_|_|_|/ / / / | | | |/| | | | | | | | | | | | | | | | | | | | Since the cogs folder has been removed, the error_handler and tag cogs had to be removed and transfer into their respective places in the exts folder.
| | * | | | | | | | | | Merge branch 'feat/F4zi/CommandSuggestion' of ↵Gravatar F4zii2020-03-07-4/+2
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/bot into feat/F4zi/CommandSuggestion
| | | * | | | | | | | | | Update bot/cogs/tags.py, cleaner return logicGravatar Iddo Soreq2020-03-07-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Shirayuki Nekomata <[email protected]>
| | * | | | | | | | | | | Return True after a tag suggestion was sentGravatar F4zii2020-03-07-1/+1
| | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After we send a tag or a suggestion we should return True for the error handler to know we handled the misspelt invoke
| | * | | | | | | | | | Boolean Logic fixGravatar F4zii2020-02-22-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we sent a message, we need to return True, the error_handler (in case it called the func) will not send another message if already sent one.
| | * | | | | | | | | | Nontype handling Logic fixGravatar F4zii2020-02-22-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we cannot perform anything without the tags cog and commands
| | * | | | | | | | | | Merge remote-tracking branch 'origin/master' into feat/F4zi/CommandSuggestionGravatar MarkKoz2020-02-22-444/+783
| | |\ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | (display_tag) Return False if no tags were found.Gravatar F4zii2020-02-22-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since no tags were found, we can return false since we didn't send any matching tag
| | * | | | | | | | | | | Return False (not sent) at the end of display_tagGravatar F4zii2020-02-22-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the code ran to the last line of the function without returning (we return when we send a tag) It means we didn't send the tag and need to return False
| | * | | | | | | | | | | awaited can_run CoroutineGravatar F4zii2020-02-22-1/+1
| | | | | | | | | | | | |
| | * | | | | | | | | | | Handling CommandError and OptimizationGravatar F4zii2020-02-22-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After CommandError was catched, the embed was sent, now we return after the exception was catched Modified the way raw_commands are collected
| | * | | | | | | | | | | Only replace the misspelt command, and not the whole occurrences of itGravatar F4zii2020-02-21-1/+1
| | | | | | | | | | | | |
| | * | | | | | | | | | | Handling and logging CommandErrorGravatar F4zii2020-02-21-10/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the CommandError exception was ignored, We now catch the exception to handle and log the event Also added a little code reformat
| | * | | | | | | | | | | Command suggestion message reformat.Gravatar F4zi2020-02-20-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The message sent when suggesting a command is now wrapped inside an embed
| | * | | | | | | | | | | Rearrange - Function naming and DocstringsGravatar F4zii2020-02-20-105/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | get_command was changed to - display_tag, the name didn't fit, since its not the command itself. command_on_cooldown was taken out of display_tag to get the option to reuse it in another scope Docstrings modified
| | * | | | | | | | | | | Rearrange - Function naming and DocstringsGravatar F4zii2020-02-20-1/+1
| | | | | | | | | | | | |
| | * | | | | | | | | | | Return Logic FixedGravatar F4zii2020-02-19-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The returned value was changed from True to False If we didn't return True (sent the tag) throughout the code It means we didn't send anything, we should return False
| | * | | | | | | | | | | Rearrange, NoneTypes handlingGravatar F4zii2020-02-19-3/+3
| | | | | | | | | | | | |