aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Merge pull request #528 from bendiller/antimalware-cogGravatar Chris G2019-10-19-0/+86
|\ | | | | Antimalware cog
| * Merge branch 'master' into antimalware-cogGravatar Chris G2019-10-19-107/+428
| |\ | |/ |/|
* | Pluralize "infractions" as necessary. (#545)Gravatar scragly2019-10-20-2/+10
|\ \ | | | | | | Pluralize "infractions" as necessary.
| * | Do not display an expiry for notes or warnings.Gravatar Johannes Christ2019-10-19-1/+7
| | |
| * | Pluralize "infractions" as necessary.Gravatar Johannes Christ2019-10-19-1/+3
|/ /
* | Fix rule alias. (#537)Gravatar scragly2019-10-16-6/+6
|\ \ | | | | | | Fix rule alias.
| * \ Merge branch 'master' into rule-numGravatar scragly2019-10-16-45/+61
| |\ \ | |/ / |/| |
* | | Merge pull request #511 from python-discord/off-topic-checkGravatar Kieran Siek2019-10-15-45/+61
|\ \ \ | | | | | | | | Prevent too similar off-topic channel names
| * \ \ Merge branch 'master' into off-topic-checkGravatar Kieran Siek2019-10-15-47/+230
| |\ \ \ | |/ / / |/| | |
| * | | Merge branch 'master' into off-topic-checkGravatar kosayoda2019-10-15-1882/+2058
| |\ \ \
| * | | | Utilize __str__ of discord.Member in logging and outputGravatar kosayoda2019-10-12-47/+33
| | | | |
| * | | | Add !otn forceadd command.Gravatar kosayoda2019-10-11-0/+8
| | | | |
| * | | | Add check to !otn add to prevent too similar names.Gravatar kosayoda2019-10-11-2/+24
| | | | |
| | | * | Fix rule alias.Gravatar kosayoda2019-10-15-6/+6
| |_|/ / |/| | | | | | | | | | | | | | | | | | | Allow rule alias to take rule numbers, passes them to the `site rules` command. Rules are now 1-indexed to conform with the representation on the website.
* | | | Create the !mention command. (#493)Gravatar scragly2019-10-15-3/+58
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Create the !mention command. Co-authored-by: null <[email protected]>
| * \ \ \ Merge branch 'master' into masterGravatar scragly2019-10-15-1948/+1951
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #503 from avayert/masterGravatar Johannes Christ2019-10-14-4/+130
|\ \ \ \ \ | | | | | | | | | | | | Add raw command
| * | | | | Implement a bypassable cooldown decoratorGravatar Ava2019-10-14-3/+50
| | | | | |
| * | | | | Small code review fixesGravatar Ava2019-10-11-3/+2
| | | | | |
| * | | | | Fix linting errorsGravatar Ava2019-10-08-7/+8
| | | | | |
| * | | | | Fix wrong importGravatar Ava2019-10-08-2/+1
| | | | | |
| * | | | | Add raw commandGravatar Ava2019-10-08-3/+83
| | | | | | | | | | | | | | | | | | | | | | | | Closes #334
* | | | | | Merge pull request #378 from larswijn/djangoGravatar Johannes Christ2019-10-14-44/+46
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | Change pep command to use `.txt` by default
| * | | | | Update utils.pyGravatar larswijn2019-10-13-1/+1
| | | | | | | | | | | | | | | | | | Switch around trying order (txt first, then rst)
| * | | | | Completely re-submit fileGravatar larswijn2019-07-01-44/+46
| | | | | | | | | | | | | | | | | | to fix the write history of the file
* | | | | | Deployment triggerGravatar Joseph Banks2019-10-12-0/+0
| | | | | |
* | | | | | Merge pull request #495 from kraktus/modif_2Gravatar Mark2019-10-11-1/+40
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add Periodic Ping to Checkpoint
| * \ \ \ \ \ Merge branch 'master' into modif_2Gravatar Leon Sandøy2019-10-12-1/+1
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
* | | | | | | Merge pull request #518 from python-discord/bump-site-postgres-to-12Gravatar Mark2019-10-11-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Bump the site PostgreSQL version to 12.
| * \ \ \ \ \ \ Merge branch 'master' into bump-site-postgres-to-12Gravatar Mark2019-10-11-5/+80
| |\ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Bump the site PostgreSQL version to 12.Gravatar Johannes Christ2019-10-12-1/+1
| | | | | | | |
| | * | | | | | Merge branch 'master' into modif_2Gravatar Leon Sandøy2019-10-12-5/+80
| | |\ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
* | | | | | | | Merge pull request #421 from python-discord/bot-utils-time-testsGravatar Mark2019-10-11-5/+80
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | Add tests for `bot.utils.time`.
| * | | | | | | Raise `ValueError` on negative `max_units`.Gravatar Johannes Christ2019-10-12-3/+9
| | | | | | | |
| * | | | | | | Merge branch 'master' into bot-utils-time-testsGravatar Johannes Christ2019-10-12-353/+352
| |\ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Add typehints.Gravatar Johannes Christ2019-10-11-3/+2
| | | | | | | |
| * | | | | | | Merge branch 'master' into bot-utils-time-testsGravatar Johannes Christ2019-10-11-3706/+3119
| |\ \ \ \ \ \ \
| * | | | | | | | Implement test cases suggested by @MarkKoz.Gravatar Johannes Christ2019-10-11-0/+11
| | | | | | | | |
| * | | | | | | | Add tests for `bot.utils.time`.Gravatar Johannes Christ2019-09-20-4/+58
| | | | | | | | |
| | | * | | | | | Merge remote-tracking branch 'origin/master' into modif_2Gravatar MarkKoz2019-10-11-1896/+1912
| | | |\ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | |
| | | * | | | | | Get the prefix from the config for the periodic ping messageGravatar MarkKoz2019-10-11-2/+2
| | | | | | | | |
| | | * | | | | | Check that the periodic ping author is the botGravatar MarkKoz2019-10-11-1/+1
| | | | | | | | |
| | | * | | | | | Revise comments and the doctsring for the periodic ping functionGravatar MarkKoz2019-10-11-7/+10
| | | | | | | | |
| | | * | | | | | Cancel the periodic ping task when the verification cog is unloadedGravatar MarkKoz2019-10-11-0/+4
| | | | | | | | |
| | | * | | | | | Better check way of checking timelapsGravatar kraktus2019-10-11-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a coroutine instead of a list.
| | | * | | | | | Requested changesGravatar kraktus2019-10-05-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed `PERIODIC_PING` from 2 f-string to one normal and one f-string. The bot now checks in the lasts 5 messages (why 5? Admins/mods could have add some notes, and/or users could have wrong taped the command, which lead the bot to send a message) the time of his last ping. If there is not historic ping, will send one (initialization and make the command more robust). If there is one previous `PERIODIC_PING` message, checks if it older than one week. I also set the countdown from 1 to 12 hours. Why not more? Because each time the bot is restarted the countdown is reset to 0, and I don't know how often it is restarted.
| | | * | | | | | Added a new `periodic_ping` to fix #320Gravatar kraktus2019-10-05-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Created a new function named `periodic_ping` in `verification.py`, using `discord.ext.tasks` and `datetime` module. Every hour the function checks if the last message in the channel (ie last message of the bot) is older than a week. If so, it deletes this message and post a new one.
| | | * | | | | | Added to the .gitignore file a new file to be ignored, .DS_Store (only on ↵Gravatar kraktus2019-10-05-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mac OS), that stores custom attributes of its containing folder. New contributors on Mac OS won't have to bother anymore about this mysterious file that create when you fork the project.
| | | | | | * | | Use `bot.utils.humanize_delta`, tidy bot response, remove stray f from f-stringGravatar mathsman51332019-10-12-15/+5
| | | | | | | | |
| | | | | | * | | Update !mentionGravatar mathsman51332019-10-06-14/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Lock the role if the message wait has timed out - Sleep, lock role and send notification if mention by staff member found. - Lock role and send notification if mention by non-staff member found.