aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | | | | | | | | | | | | | Threshold has false-y value when set to 0Gravatar mbaruh2021-02-17-15/+20
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | Error loading settings will also ping devops roleGravatar mbaruh2021-02-17-1/+5
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | Gave more meaningful name and description to the cacheGravatar mbaruh2021-02-17-5/+8
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | Changed server command to work with new defcon cogGravatar mbaruh2021-02-17-6/+7
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | Renamed _defcon_action to _update_threshold and updated docstringGravatar mbaruh2021-02-14-4/+4
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | Removed cog check, shutdown restricted to adminsGravatar mbaruh2021-02-14-4/+5
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | _update_channel_topic not longer needs to be awaitedGravatar mbaruh2021-02-14-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's important to note that it's appropriate for the sync and action methods to have a lock between them, because if an action is made before syncing is complete it gets screwed and starts throwing excpetion for every command.
| | * | | | | | | | | | | | | | Prevent channel description edit from locking commandsGravatar mbaruh2021-02-13-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because some parts are defined as atomic transaction, we can't use them with channel description edits which are heavily rate limited. Description edits are now run in a separate task.
| | * | | | | | | | | | | | | | Status command displays verification levelGravatar mbaruh2021-02-13-0/+1
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | Fixed on_messageGravatar mbaruh2021-02-13-8/+11
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | Add option to schedule threshold resetGravatar mbaruh2021-02-13-16/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added optional argument to defcon threshold to specify for how long it should be on. The notifier will now run only when there is no expiry date specified.
| | * | | | | | | | | | | | | | Defcon days is now defcon threshold with DurationDeltaGravatar mbaruh2021-02-13-41/+84
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | Added cog check to only allow mods in the defcon channelGravatar mbaruh2021-02-13-5/+4
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | Removed _build_defcon_message methodGravatar mbaruh2021-02-13-24/+15
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | Added server shutdown and reopen commandsGravatar mbaruh2021-02-13-2/+24
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | Reordered methodsGravatar mbaruh2021-02-13-18/+18
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | Removed enabling and switched to redisGravatar mbaruh2021-02-13-132/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing self.enable and the defon & defoff commands. Defcon will now just be always 'on' and we can set the days threshold to 0 to turn it off. Switched from postgres to redis - if the data gets lost we should just reconfigure defcon again, it should not depend on the site.
| | * | | | | | | | | | | | | | Defon doesn't reset the number of daysGravatar Boris Muratov2021-01-26-1/+1
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | Merge branch 'mbaruh/defcon' of https://github.com/python-discord/bot into ↵Gravatar Boris Muratov2021-01-26-3222/+4337
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mbaruh/defcon
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into mbaruh/defconGravatar Boris Muratov2021-01-26-3222/+4337
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | Added cog unloader to cancel notifierGravatar Boris Muratov2021-01-26-0/+8
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Moved channel topic change to _defcon_actionGravatar Boris Muratov2021-01-26-3/+1
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Moved self.enabled update to _defcon_actionGravatar Boris Muratov2021-01-26-9/+6
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Make the cog update even if write to DB failsGravatar Boris Muratov2021-01-26-3/+3
| | |/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The defcon cog should be functional even if there is some issue with writing to the DB for some reason. The functionality should have retention across restarts, but it shouldn't be its failing point. If necessary, it should be able to work with no DB at all
| | * | | | | | | | | | | | | | | Added defcon status notifierGravatar mbaruh2020-10-30-1/+22
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge remote-tracking branch 'origin/master' into cleanreworkGravatar Senjan212021-03-02-2961/+4031
|\| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Merge pull request #1440 from bast0006/masterGravatar Senjan212021-03-01-5/+5
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add !u, !tban, !superstar, and !unsuperstar aliases
| | * | | | | | | | | | | | | | | | Add !stban alias for !shadowtempbanGravatar Bast2021-03-01-1/+1
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Add !superstar and !unsuperstar aliases for !superstarifyGravatar Bast2021-03-01-2/+2
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Add alias !tban for !tempbanGravatar Bast2021-03-01-1/+1
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | Add alias !u for !userGravatar Bast2021-03-01-1/+1
| |/ / / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | | Merge pull request #1439 from python-discord/comparison-tagGravatar Xithrius2021-02-28-0/+12
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a tag to explain a common error with substituting `=` and `==`.
| | * | | | | | | | | | | | | | | | Create comparison.mdGravatar SavagePastaMan2021-02-28-0/+12
| |/ / / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | | Merge pull request #1438 from python-discord/plural-eventsGravatar Hassan Abouelela2021-02-27-1/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make "event" plural in socketstats embed
| | * | | | | | | | | | | | | | | | Make "event" plural in socketstats embedGravatar Gustav Odinger2021-02-26-1/+1
| |/ / / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | | !int socketstats improvementsGravatar Joe Banks2021-02-26-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Comma separate event values - Make fields inline for smaller embed
| * | | | | | | | | | | | | | | | Merge pull request #1436 from python-discord/startup-errorsGravatar Matteo Bertucci2021-02-26-5/+59
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Helpful Startup Errors
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into startup-errorsGravatar Matteo Bertucci2021-02-26-165/+151
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Merge pull request #1437 from python-discord/dependabot/pip/aiohttp-3.7.4Gravatar Matteo Bertucci2021-02-26-151/+133
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump aiohttp from 3.7.3 to 3.7.4
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into dependabot/pip/aiohttp-3.7.4Gravatar Matteo Bertucci2021-02-26-0/+11
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Merge pull request #1393 from sebkuip/json-tagGravatar Xithrius2021-02-25-0/+11
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made a tag to help people fix an empty file JSON error.
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into json-tagGravatar Sebastian Kuipers2021-02-26-90/+300
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | Apply suggestions from code reviewGravatar Sebastian Kuipers2021-02-25-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]>
| | * | | | | | | | | | | | | | | | | | Hyperlink URL Gravatar Sebastian Kuipers2021-02-09-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suggestion of @Numelor Co-authored-by: Numerlor <[email protected]>
| | * | | | | | | | | | | | | | | | | | A small typoGravatar Sebastian Kuipers2021-02-09-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Kieran Siek <[email protected]>
| | * | | | | | | | | | | | | | | | | | Tiny grammar editGravatar Sebastian Kuipers2021-02-09-2/+2
| | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | Simplified languageGravatar Sebastian Kuipers2021-02-05-6/+3
| | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | Merge branch 'master' into json-tagGravatar Sebastian Kuipers2021-02-05-15/+78
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | |_|_|_|_|_|/ / / / / / / / / / / | | | |/| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | Fixed random newline at startGravatar Sebastian Kuipers2021-02-05-1/+0
| | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | Removed an excess lineGravatar Sebastian Kuipers2021-02-05-1/+1
| | | | | | | | | | | | | | | | | | | |