aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | 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.
| | | | | | * | | | Remove sir lancebot names from seasonsGravatar ks1292021-01-06-7/+0
| | | | | | | | | |
| | | | | | * | | | Remove unnecessary pass statementGravatar ks1292021-01-06-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Dennis Pham <[email protected]>
| | | | | | * | | | Re-lock PipfileGravatar Karlis S2021-01-05-4/+4
| | | | | | | | | |
| | | | | | * | | | Merge branch 'master' into branding-managerGravatar ks1292021-01-05-13/+17
| | | | | | |\ \ \ \ | |_|_|_|_|_|/ / / / |/| | | | | | | | |
* | | | | | | | | | Merge pull request #1340 from python-discord/ks123/raw-fixGravatar Matteo Bertucci2021-01-04-2/+6
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Add check does user have permission to get raw message and re-enable raw command
| * \ \ \ \ \ \ \ \ \ Merge branch 'master' into ks123/raw-fixGravatar Matteo Bertucci2021-01-04-71/+131
| |\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | |
* | | | | | | | | | | Merge pull request #1152 from python-discord/Make_nomination_reason_optionalGravatar Dennis Pham2021-01-03-8/+8
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Make nomination reason optional.
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into Make_nomination_reason_optionalGravatar Dennis Pham2021-01-03-45/+60
| |\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | |
* | | | | | | | | | | | Merge PR #1345 - Update d.py to fix webhook message publishingGravatar Mark2021-01-03-45/+60
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Update discord.py to fix webhook message publishing.Gravatar Den42002021-01-01-45/+60
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to #1342.
| * | | | | | | | | | Removed 'Optional' import.Gravatar xithrius2021-01-02-1/+1
| | | | | | | | | | |
| * | | | | | | | | | Removed unnecessary debugging logs.Gravatar Xithrius2021-01-02-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Dennis Pham <[email protected]>
| * | | | | | | | | | Set reason to default as an empty string.Gravatar Xithrius2021-01-02-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Dennis Pham <[email protected]>
| * | | | | | | | | | No nominaton reason blank replaced by italic NoneGravatar xithrius2021-01-02-2/+4
| | | | | | | | | | |