From 5135786ef6016d02696089386106cd2380ace038 Mon Sep 17 00:00:00 2001 From: Vivek Santayana Date: Sat, 7 Aug 2021 08:46:59 +0100 Subject: [PATCH] Documentation updates. Pushing changes and merging branch for a v3.0.1 patch. Not updating further this time as call-backs won't work. --- CHANGELOG.md | 2 +- README.md | 5 +++-- TODO.md | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79c9a3e..d4f7f78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Minor Updates in Version 3.1 +## Minor Updates in Version 3.0.1 - Re-builds the Docker image to use a `python:slim` base instead of `python:buster`, reducing the footprint of the image to a quarter of its previous size. diff --git a/README.md b/README.md index e71f678..4a4be7a 100644 --- a/README.md +++ b/README.md @@ -219,5 +219,6 @@ Programming around this will need a further layer of complexity, involving flags I have set the member verification prompt to use a global listener to avoid a situation where it creates several backlogged processes when multiple people post sign-ups at the same time. This should also mean that the sign-up prompts should persist over reboots. -The best possible way of setting this up is probably using functions to dynamically set up and remove component call-backs. -Also components do not need to all have unique names, just unique names in the message they are part of. +Other developers for Discord Components recommended the use of dynamic call-backs, however these do not persist after reboots so are not suitable for this purpose. +Discord will need to make substantial API updates in the future for rolling out the Threads feature. +The bot will need updating again then. diff --git a/TODO.md b/TODO.md index 9fef5af..702ff9d 100644 --- a/TODO.md +++ b/TODO.md @@ -8,4 +8,4 @@ - [ ] Add support for Discord Threads following Discord Py library update - [ ] Update permission settings for GMs on game channels to support threads -- [ ] Change component response architecture to use dynamic callback functions instead of global listeners. +- [ ] ~~Change component response architecture to use dynamic callback functions instead of global listeners.~~ Not suitable because it does not provide persistence across reboots.