aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Merge pull request #1380 from HassanAbouelela/alphabetize-configGravatar Xithrius2021-01-26-190/+201
|\ | | | | Alphabetize Configs
| * Merge remote-tracking branch 'origin/master' into alphabetize-configGravatar xithrius2021-01-26-359/+381
| |\ | |/ |/|
* | Merge pull request #1383 from Inheritanc-e/remove_interpreterGravatar Matteo Bertucci2021-01-25-54/+0
|\ \ | | | | | | Removed helper interpreter.
| * | Removed the blank lines from __init__ functionGravatar Inheritance2021-01-25-1/+0
| | |
| * | Removed the import of helper interpreterGravatar Inheritance2021-01-25-1/+0
| | |
| * | Removed self.interpreter from internal cog, and deleted the interpreter ↵Gravatar Inheritance2021-01-25-52/+0
|/ / | | | | | | helper file
* | Fixed python_general const in server commandGravatar Boris Muratov2021-01-24-1/+1
| |
* | Merge pull request #1166 from python-discord/feat/info/server-cmd-enhancementsGravatar Boris Muratov2021-01-24-81/+100
|\ \ | | | | | | Enhance the !server command.
| * \ Merge branch 'master' into feat/info/server-cmd-enhancementsGravatar Xithrius2021-01-23-0/+26
| |\ \ | |/ / |/| |
* | | Merge pull request #1344 from ChrisLovering/new-env-tagGravatar Dennis Pham2021-01-23-0/+26
|\ \ \ | | | | | | | | Add new tag to explain python environments
| * \ \ Merge branch 'master' into new-env-tagGravatar Dennis Pham2021-01-23-1065/+1354
| |\ \ \ | |/ / / |/| | |
| * | | Remove incorrect pointGravatar Chris2021-01-20-1/+0
| | | |
| * | | Apply suggestions from code review Gravatar ChrisJL2021-01-20-2/+2
| | | | | | | | | | | | | | | | | | | | Grammar Co-authored-by: Mark <[email protected]>
| * | | Add a section on why to use a virtual envGravatar Chris2021-01-19-3/+12
| | | |
| * | | Fix urlGravatar Chris2021-01-19-1/+1
| | | |
| * | | grammar and spelling fixesGravatar Chris2021-01-19-18/+18
| | | |
| * | | Merge branch 'new-env-tag' of github.com:ChrisLovering/bot into new-env-tagGravatar Chris2020-12-31-0/+0
| |\ \ \
| | * | | Fix linting by adding new line at eofGravatar Chris2020-12-31-1/+1
| | | | |
| | * | | First draft of env explaintionsGravatar Chris2020-12-31-0/+18
| | | | |
| * | | | First draft of env explaintionsGravatar Chris2020-12-31-0/+18
| |/ / /
| | * | Remove redundant parenthesis.Gravatar kosayoda2021-01-24-3/+3
| | | |
| | * | Merge branch 'master' into feat/info/server-cmd-enhancementsGravatar kosayoda2021-01-23-237/+288
| | |\ \ | |_|/ / |/| | |
* | | | Merge pull request #1346 from python-discord/bug/help/1341/race-conditionsGravatar Joe Banks2021-01-22-193/+228
|\ \ \ \
| * \ \ \ Merge branch 'master' into bug/help/1341/race-conditionsGravatar Joe Banks2021-01-22-4/+3
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #1376 from python-discord/update-badgesGravatar Matteo Bertucci2021-01-22-4/+3
|\ \ \ \ \ | | | | | | | | | | | | Update badges on the README file
| * | | | | Use the SVG badge on the READMEGravatar Matteo Bertucci2021-01-22-1/+1
| | | | | |
| * | | | | Update badges on the README fileGravatar Matteo Bertucci2021-01-22-4/+3
|/ / / / /
| * | | | Merge branch 'master' into bug/help/1341/race-conditionsGravatar Joe Banks2021-01-22-820/+1056
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Fix aliases of shadow tempbanGravatar Joe Banks2021-01-21-1/+1
| | | | |
* | | | | Merge pull request #1374 from python-discord/mbaruh/sm-statsGravatar ks1292021-01-21-26/+23
|\ \ \ \ \ | | | | | | | | | | | | Added slowmode statistic for python-general
| * | | | | Added slowmode tracking to dpy and ot0Gravatar Boris Muratov2021-01-21-2/+12
| | | | | |
| * | | | | Merge branch 'master' into mbaruh/sm-statsGravatar Matteo Bertucci2021-01-21-9/+16
| |\ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Changed slowmode reset testsGravatar mbaruh2021-01-21-12/+4
| | | | | |
| * | | | | Added slowmode stat for python-general.Gravatar mbaruh2021-01-21-4/+8
| | | | | |
| * | | | | Slowmode reset now uses slowmode setGravatar mbaruh2021-01-21-10/+1
| | | | | |
| | * | | | Set asyncio logger level to INFOGravatar MarkKoz2021-01-04-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If asyncio's debug mode is enabled, the asyncio logger's level gets set to DEBUG. While other features of the debug mode are useful, the DEBUG log level spams generally irrelevant stuff.
| | * | | | HelpChannels: fix unclaim exiting too early if claimant is NoneGravatar MarkKoz2021-01-04-4/+2
| | | | | |
| | * | | | HelpChannels: fix manual use of lock decoratorGravatar MarkKoz2021-01-04-3/+3
| | | | | |
| | * | | | HelpChannels: fix race condition when unclaiming a channelGravatar MarkKoz2021-01-04-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Place a channel-specific lock on `unclaim_channel`. If both the dormant task and the command simultaneously unclaim a channel, one of them will silently be aborted. Fix #1341
| | * | | | HelpChannels: change caller str parameter to a boolGravatar MarkKoz2021-01-04-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | Booleans are less error-prone than strings.
| | * | | | HelpChannels: unschedule the dormant task in unclaim_channelGravatar MarkKoz2021-01-04-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Ensure the cancellation will be under the lock once the lock is added.
| | * | | | HelpChannels: clarify close command docstringGravatar MarkKoz2021-01-04-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Referencing internal functions in public-facing documentation is not helpful to users.
| | * | | | HelpChannels: refactor the close command checkGravatar MarkKoz2021-01-04-10/+10
| | | | | |
| | * | | | HelpChannels: make a channel available within the lockGravatar MarkKoz2021-01-04-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the lock causes the function to abort, a new channel shouldn't be made available. However, the only way to know it's aborted from the outside would be through a return value or global variable. Neither seem as nice as just just using `create_task` within the lock to avoid having `move_to_available` hold the lock.
| | * | | | Add asyncio.create_task wrapper which logs exceptionsGravatar MarkKoz2021-01-04-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Normally exceptions are only logged when tasks are garbage collected. This wrapper will allow them to be logged immediately through a done callback. This is similar to how the Scheduler logs errors.
| | * | | | HelpChannels: fix race condition between claiming and unclaimingGravatar MarkKoz2021-01-04-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The race condition is when a user claims a channel while their other channel is being unclaimed. Specifically, it's while their cooldown is being removed. The lock ensures that either the cooldown will be re-applied after it's removed or that it won't be removed since `unclaim_channel` will see the user has another claimed channel.
| | * | | | Lock: support waiting until a lock is availableGravatar MarkKoz2021-01-04-37/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's been determined that asyncio.Lock is safe to use in such manner. Therefore, replace LockGuard entirely with asyncio.Lock.
| | * | | | HelpChannels: refactor channel unclaimingGravatar MarkKoz2021-01-04-20/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Narrow the scope of `move_to_dormant` to just moving the channel. Following the design of `claim_channel`, make `unclaim_channel` handle cooldowns and unpinning.
| | * | | | HelpChannels: remove obsolete channel position trace logGravatar MarkKoz2021-01-04-1/+0
| | | | | |
| | * | | | HelpChannels: refactor stat trackingGravatar MarkKoz2021-01-04-27/+47
| | | | | | | | | | | | | | | | | | | | | | | | Move significant code related to stats to a separate module.