aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | | | | | Ignore attachment-only messages for duplicates antispam ruleGravatar ks1292021-02-06-0/+1
| |/ / / / / /
| | * | | | | Makes Off Topic Name Search Case InsensitiveGravatar Hassan Abouelela2021-02-09-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modifies the off topic channel name search to match upper and lower cased letters, as well as punctuation. Signed-off-by: Hassan Abouelela <[email protected]>
| | * | | | | Moves Off Topic Name TranslatorGravatar Hassan Abouelela2021-02-09-7/+18
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Breaks out the off topic name translation functionality into its own function. Signed-off-by: Hassan Abouelela <[email protected]>
* | | | | | Merge pull request #1405 from python-discord/swfarnsworth/tag_messagesGravatar Xithrius2021-02-08-38/+29
|\ \ \ \ \ \ | | | | | | | | | | | | | | New wording for some tag messages
| * \ \ \ \ \ Merge branch 'master' into swfarnsworth/tag_messagesGravatar Sebastiaan Zeeff2021-02-08-21/+148
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
* | | | | | | Merge pull request #1406 from ↵Gravatar Hassan Abouelela2021-02-07-42/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/revert-1396-dynamic-available-help-channels Revert "Dynamic available help channels message"
| * | | | | | | Revert "Dynamic available help channels message"Gravatar Hassan Abouelela2021-02-07-42/+0
|/ / / / / / /
* | | | | | | Merge pull request #1396 from python-discord/dynamic-available-help-channelsGravatar Xithrius2021-02-07-0/+42
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Dynamic available help channels message
| * \ \ \ \ \ \ Merge branch 'master' into dynamic-available-help-channelsGravatar Xithrius2021-02-07-0/+46
| |\ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
* | | | | | | | Merge pull request #1400 from anand2312/patch-2Gravatar Kieran Siek2021-02-07-0/+21
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Make `defaultdict` tag
| * \ \ \ \ \ \ \ Merge branch 'master' into patch-2Gravatar Kieran Siek2021-02-07-0/+23
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | Merge pull request #1403 from python-discord/ks123/discord-py-local-file-tagGravatar ks1292021-02-07-0/+23
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | |
| * | | | | | | | Put filename between backticksGravatar ks1292021-02-06-1/+1
| | | | | | | | |
| * | | | | | | | Remove unnecessary period from local-file tagGravatar ks1292021-02-06-1/+1
| | | | | | | | |
| * | | | | | | | Add missing 'a' article in local-file tagGravatar ks1292021-02-06-1/+1
| | | | | | | | |
| * | | | | | | | Add back removed 'can' to local-file tagGravatar ks1292021-02-06-1/+1
| | | | | | | | |
| * | | | | | | | Fix grammar of local-file tagGravatar ks1292021-02-06-2/+2
| | | | | | | | |
| * | | | | | | | Add hyperlinks for local file tag discord.py referencesGravatar ks1292021-02-06-4/+4
| | | | | | | | |
| * | | | | | | | Mention instance in comment about MessageableGravatar ks1292021-02-06-1/+1
| | | | | | | | |
| * | | | | | | | Remove additional newline from end of tagGravatar ks1292021-02-06-1/+0
| | | | | | | | |
| * | | | | | | | discord.Messageable -> discord.abc.MessageableGravatar ks1292021-02-06-1/+1
| | | | | | | | |
| * | | | | | | | discord.Channel -> discord.TextChannelGravatar ks1292021-02-06-1/+1
| | | | | | | | |
| * | | | | | | | Create local-file tag about sending local files to DiscordGravatar ks1292021-02-06-0/+24
|/ / / / / / / /
| * | | | | | | Correct examples, reword descriptionGravatar Anand Krishna2021-02-06-8/+9
| | | | | | | |
| * | | | | | | Fix trailing whitespacesGravatar Anand Krishna2021-02-06-1/+1
| | | | | | | |
| * | | | | | | Make `defaultdict` tagGravatar Anand Krishna2021-02-05-0/+20
|/ / / / / / /
| * | | | | | Formatted available constant, added missing dynamic message traceGravatar xithrius2021-02-06-1/+2
| | | | | | |
| * | | | | | Removed unnecessary task creation.Gravatar xithrius2021-02-06-6/+1
| | | | | | |
| * | | | | | Available channels are no longer stored as IDs.Gravatar xithrius2021-02-06-5/+5
| | | | | | |
| * | | | | | Reformatted string constant for available help channels.Gravatar xithrius2021-02-06-3/+1
| | | | | | |
| * | | | | | Modified the dynamic to be bold to catch eyes.Gravatar xithrius2021-02-05-1/+1
| | | | | | |
| * | | | | | Replaced fetching available category for old one.Gravatar xithrius2021-02-04-3/+2
| | | | | | |
| * | | | | | Removed unnecessary update method call.Gravatar xithrius2021-02-04-4/+3
| | | | | | |
| * | | | | | Alphabetized config-default.yml.Gravatar xithrius2021-02-04-1/+1
| | | | | | |
| * | | | | | 'None' is now shown if no channels are available.Gravatar xithrius2021-02-04-9/+10
| | | | | | |
| * | | | | | Fixed logic in case dynamic message doesn't exist.Gravatar xithrius2021-02-04-11/+9
| | | | | | |
| * | | | | | Fixed up linting errors.Gravatar xithrius2021-02-04-3/+4
| | | | | | |
| * | | | | | Added dynamic available help channels messageGravatar xithrius2021-02-04-0/+48
| | | | | | |
| * | | | | | Added how_to_get_help constant.Gravatar xithrius2021-02-04-0/+2
| | | | | | |
| | * | | | | "handle converting" -> "convert ... for you". Gravatar Steele Farnsworth2021-02-06-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per Gustav's suggestion. Co-authored-by: Gustav Odinger <[email protected]>
| | * | | | | Removed extra blank line. Gravatar Steele Farnsworth2021-02-06-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It added more vertical white space than was wanted. Co-authored-by: Gustav Odinger <[email protected]>
| | * | | | | New example to emphasize the mapping functionality rather than filtering.Gravatar swfarnsworth2021-02-06-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the example only conveyed how the `if` statement of list comps could be used to filter a list, whereas the mapping functionality is what people primarily use list comps for.
| | * | | | | More robust example with no reference to Python versions or `str.format`.Gravatar swfarnsworth2021-02-06-14/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The example emphasizes that you can evaluate expressions in the curly braces. Python 3.5 has already reached EOL, so anyone who doesn't have f-strings at this point is probably running 2.7 anyway. I also removed the information about `str.format` to reduce the scope.
| | * | | | | Rewrite to use simpler examples.Gravatar swfarnsworth2021-02-06-14/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous examples might have been confusing for some readers. I also removed the part about inverting a dict because I think that's out of scope and would require more explanation given all the consequences that could have.
| | | | * | | Merge branch 'mbaruh/defcon' of https://github.com/python-discord/bot into ↵Gravatar mbaruh2021-03-02-12/+19
| | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | mbaruh/defcon
| | | | | * | | Provide default cache values when syncingGravatar Boris Muratov2021-03-01-2/+2
| | | | | | | |
| | | | | * | | Change to handle specifically redis errorsGravatar Boris Muratov2021-03-01-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The idea to ignore alerts on fake redis didn't solve the problem completely, because sometimes you'll just develop with a real redis. It also didn't solve the ping we would get on first start up. After looking into it there seems like there's no actual reason to alert on key errors, as they should only happen if the cache gets wiped for some reason, which shouldn't happen, but in which case we have bigger issues. Alerts are therefore limited to connection errors raised by redis. This additionally handles only redis errors when writing to it as well. If any other error is raised it is ok for the function to stop at that point, as all variables have already been set. The only thing which doesn't get executed is the confirmation message and logging, the lack of which is an exception message in itself.
| | | | | * | | Sync alert won't trigger with fake redisGravatar Boris Muratov2021-02-26-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The alert will trigger with fake redis on every bot startup even when people aren't working on the defcon cog. Added a condition to check if fake redis is being used.
| | | | | * | | Changed name of _duration_parser constant to uppercaseGravatar Boris Muratov2021-02-26-2/+2
| | | | | | | |
| | | | | * | | Supressing any exceptions while updating the threshold in redisGravatar Boris Muratov2021-02-26-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating redis might cause an error, making sure it doesn't stop the command mid-way