aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | 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
| | | | | | | | | | | | |
| | * | | | | | | | | | | Rearrange, Function naming and DocstringsGravatar F4zii2020-02-19-5/+16
| | | | | | | | | | | | |
| | * | | | | | | | | | | Rearrange, exception and NoneTypes handlingGravatar F4zii2020-02-19-12/+16
| | | | | | | | | | | | |
| | * | | | | | | | | | | Removal of unused logsGravatar F4zii2020-02-19-3/+0
| | | | | | | | | | | | |
| | * | | | | | | | | | | Suggest aliases when invoked instead of full command nameGravatar F4zii2020-02-19-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When found a similar command, the bot sent a suggestion about the full command name This was fixed by saving the matching alias and sending it instead of sending the full command name
| | * | | | | | | | | | | Delete_after added for suggestion messageGravatar F4zii2020-02-19-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | preventing message spam by the bot when commands are misspelt
| | * | | | | | | | | | | Deletion of the consuming rest (*) used in _get_commandGravatar F4zii2020-02-19-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since its used to get the input of the command, its not needed again In the function (callback) call
| | | | | | | | | | | | |
| | | \ \ \ \ \ \ \ \ \ \
| | *-. \ \ \ \ \ \ \ \ \ \ Merge branches 'feat/F4zi/CommandSuggestion' and 'master' of ↵Gravatar F4zii2020-02-19-17/+39
| | |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/bot into feat/F4zi/CommandSuggestion
| | | * \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into feat/F4zi/CommandSuggestionGravatar Matteo Bertucci2020-02-18-1/+1
| | | |\ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | Feature: suggest command usage for misspelt commandsGravatar F4zii2020-02-19-4/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migration to error_handler.py Suggesting misspelt commands, in progress
| | * | | | | | | | | | | | | | Seperated tags.get_command into a function and a wrapperGravatar F4zii2020-02-19-23/+15
| | |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated
| | * | | | | | | | | | | | | Feature: suggest command usage for misspelt commandsGravatar F4zii2020-02-18-0/+19
| | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | Relock PipfileGravatar Karlis S2021-01-16-17/+7
| | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | Merge branch 'master' into branding-managerGravatar ks1292021-01-16-736/+40
| | | | | | | |\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / / / / / / | |/| | | | | | | | | | | | |
| * | | | | | | | | | | | | | Update discord.py to the 1.6 releaseGravatar MarkKoz2021-01-11-17/+27
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Merge pull request #1350 from python-discord/mbaruh/developerectomyGravatar Dennis Pham2021-01-10-720/+14
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Annihilate all traces of Developer and Unverified roles
| | * | | | | | | | | | | | | | Annihilate all traces of Developer and Unverified rolesGravatar mbaruh2021-01-11-720/+14
| |/ / / / / / / / / / / / / /
| * | | | | | | | | | | | | | Make sure that users without the Developers role can use tag.Gravatar Matteo Bertucci2021-01-10-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.
| * | | | | | | | | | | | | | Upped duckpond threshold to 5Gravatar Boris Muratov2021-01-08-1/+1
| | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | Add startup and daemon tasks canceling on cog unloadGravatar ks1292021-01-16-0/+6
| | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | Fix BrandingError import in error handlerGravatar ks1292021-01-06-1/+2
| | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | Add startup task that starts daemon to branding cogGravatar ks1292021-01-06-4/+5
| | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | Fix seasons file import orderGravatar ks1292021-01-06-2/+2
| | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | Add missing docstring to Month enumGravatar ks1292021-01-06-0/+2
| | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | Refactor branding manager to keep everything in one directoryGravatar ks1292021-01-06-112/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To keep everything at one place, moved all branding manager special things to one module.