aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | | | * | | | | | | | | | Branding: implement internal utilityGravatar kwzrd2021-03-13-2/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the core logic of branding management. In comparison with the previous version, we now maintain all state in Redis, which allows the bot to seamlessly restart without losing any information. The 'send_info_embed' function is intentionally implemented with the consideration of allowing users to invoke it on-demand. It always reads information from the cache, even if the caller could pass a 'MetaFile' instance. So while this may look needlessly indirect right now, it should begin to make sense once the command API is implemented.
| | | | | * | | | | | | | | | Branding: expose SHA on remote objectsGravatar kwzrd2021-03-13-0/+1
| | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | Branding: implement asset application logicGravatar kwzrd2021-03-13-0/+51
| | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | Branding: do not require 'RemoteObject' instance to fetch fileGravatar kwzrd2021-03-13-5/+5
| | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | Branding: correctly annotate optional attributeGravatar kwzrd2021-03-13-1/+1
| | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | Branding: make event instances aware of their locationGravatar kwzrd2021-03-13-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows us to add a neat string representation.
| | | | | * | | | | | | | | | Branding: add event gettersGravatar kwzrd2021-03-13-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These methods form the API to the repository abstraction.
| | | | | * | | | | | | | | | Branding: define event construction methodologyGravatar kwzrd2021-03-13-0/+90
| | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | Branding: add HTTP fetch helper methodsGravatar kwzrd2021-03-13-0/+54
| | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | Branding: migrate constantsGravatar kwzrd2021-03-13-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Constants will only be used in one place and there's not enough of them to warrant a separate module.
| | | | | * | | | | | | | | | Branding: initiate repository abstractionGravatar kwzrd2021-03-13-0/+15
| | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | Branding: remove current implementationGravatar kwzrd2021-03-13-812/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we're planning substantial changes, it will be easier to build from scratch.
| | | | | * | | | | | | | | | Pipenv: add 'python-frontmatter' & re-lockGravatar kwzrd2021-03-07-48/+59
| | | |_|/ / / / / / / / / / | | |/| | | | | | | | | | |
| | | | | * | | | | | | | | Fix cancelling tasks on cog unloadGravatar Harbys2021-02-10-2/+3
| | | | | | | | | | | | | |
| | | | | * | | | | | | | | Add permanent streaming commandGravatar Harbys2021-02-10-1/+24
| | | | | | | | | | | | | |
| | | | | * | | | | | | | | Add redis reschedulingGravatar Harbys2021-02-10-5/+32
| | | | | | | | | | | | | |
| | | | | * | | | | | | | | fix default durationGravatar Harbys2021-02-08-2/+6
| | | | | | | | | | | | | |
| | | | | * | | | | | | | | Merge remote-tracking branch 'origin/master'Gravatar Harbys2021-02-08-2/+2
| | | | | |\ \ \ \ \ \ \ \ \
| | | | | | * | | | | | | | | change for style guidelines by @MarkKozGravatar Harbys2021-02-08-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]>
| | | | | * | | | | | | | | | Merge remote-tracking branch 'origin/master'Gravatar Harbys2021-02-03-1/+1
| | | | | |\| | | | | | | | |
| | | | | | * | | | | | | | | add space for readablilityGravatar Harbys2021-02-03-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]>
| | | | | * | | | | | | | | | remove unused testsGravatar Harbys2021-02-03-6/+1
| | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | remove constants that were used onceGravatar Harbys2021-02-03-6/+2
| | | | | |/ / / / / / / / /
| | | | | * | | | | | | | | remove unused constants by @MarkKozGravatar Harbys2021-02-03-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]>
| | | | | * | | | | | | | | Add a newline for readability. by @MarkKozGravatar Harbys2021-02-03-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]>
| | | | | * | | | | | | | | move default duration for stream command to configGravatar Harbys2021-01-10-2/+13
| | | | | | | | | | | | | |
| | | | | * | | | | | | | | add 30 minute default for stream commandGravatar Harbys2021-01-10-1/+3
| | | | | | | | | | | | | |
| | | | | * | | | | | | | | indent fixGravatar Harbys2021-01-10-1/+1
| | | | | | | | | | | | | |
| | | | | * | | | | | | | | fix flake8 and line endingsGravatar Harbys2020-11-27-2/+3
| | | | | | | | | | | | | |
| | | | | * | | | | | | | | move to SchedulerGravatar Harbys2020-11-27-185/+72
| | | | | | | | | | | | | |
| | | | | * | | | | | | | | add success message after revokestream commandGravatar Harbys2020-11-27-0/+1
| | | | | | | | | | | | | |
| | | | | * | | | | | | | | fixing punctuation and adding Emojis to messagesGravatar Harbys2020-11-27-6/+7
| | | | | | | | | | | | | |
| | | | | * | | | | | | | | fixing required argumentsGravatar Harbys2020-11-27-8/+1
| | | | | | | | | | | | | |
| | | | | * | | | | | | | | removed share aliasGravatar Harbys2020-11-27-1/+1
| | | | | | | | | | | | | |
| | | | | * | | | | | | | | spelling fix from fetch_membr to fetch_memberGravatar Harbys2020-11-27-1/+1
| | | | | | | | | | | | | |
| | | | | * | | | | | | | | removing redundant descriptionsGravatar Harbys2020-11-25-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]>
| | | | | * | | | | | | | | removing redundant class namesGravatar Harbys2020-11-25-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]>
| | | | | * | | | | | | | | Merge branch 'master' into masterGravatar Harbys2020-11-25-83/+106
| | | | | |\ \ \ \ \ \ \ \ \
| | | | | * | | | | | | | | | fixing code to be flake8 compliantGravatar Harbys2020-11-24-29/+22
| | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | Add more tests and some commentsGravatar Harbys2020-11-24-3/+43
| | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | Add 2 first unit tests for Stream cogGravatar Harbys2020-11-24-0/+45
| | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | Add additional year aliasGravatar Harbys2020-11-24-1/+1
| | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | import fixGravatar Harbys2020-11-24-1/+1
| | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | Added <prefix>Stream and <prefix>revokestream commandsGravatar Harbys2020-11-24-0/+169
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Removes Unused Mock ResetGravatar Hassan Abouelela2021-03-12-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | | | | | | | | | | | | | | Use Mock Side Effect Instead Of Extra FunctionGravatar Hassan Abouelela2021-03-10-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes the mock used for creating an erroneous function in the silence tests cog to use the side effect property instead of an extra function. Signed-off-by: Hassan Abouelela <[email protected]>
* | | | | | | | | | | | | | | Simplifies Redundant Unsilence Target TestGravatar Hassan Abouelela2021-03-10-33/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes redundant functionality from the `test_unsilence_helper_fail` test as it is covered by another test. Keeps the functionality that isn't being tested elsewhere. Signed-off-by: Hassan Abouelela <[email protected]>
* | | | | | | | | | | | | | | Combine Silence Target TestsGravatar Hassan Abouelela2021-03-10-39/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Combine two tests that are responsible for checking the silence helper uses the correct channel and message. Signed-off-by: Hassan Abouelela <[email protected]>
* | | | | | | | | | | | | | | Merge branch 'master' into voicechannel-muteGravatar Hassan Abouelela2021-03-10-477/+934
|\| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Delete repo specific FUNDING.yml file in favour of org one in ↵Gravatar Joe Banks2021-03-09-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/.github