New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Text Labels in discord bot #43
Comments
Would creating a bot that has Message Commands for each label work? |
could work, yes. maybe it needs a bit of thinking when it comes to graded labels (each label can be between 0 and 1), but for binary ones this could totally work out of the box! |
We could have the context menu open a modal with a select menu for the label and a text field for the label value. If I start working on this, should I add it to the existing bot? Also, For context, I have been writing discord bots for 3-4 years. I looked around the existing bot code, and I'm not trying to be mean when I say this, but it looks like a mess.
If you don't mind, I suggest switching away from discord.py to hikari. Given that the project is still fairly small, I would be willing to do a full rewrite if every one else who is working on the bot agrees. Either way, I hope you can see how the current code is not welcoming to new development because it lacks documentation and structure, so a rewrite or restructure almost seems necessary. I want to contribute to this project, but in the current state I don't think I can. |
thank you, that's extremely valuable feedback, and you're certainly not mean! I'd definitely support switching frameworks and / or improving the bot code. if you want and have capacity, you can have a go at it, very happy to incorporate expert opinions. if you'd like to delegate out the work, it would also be great if you made a few issues on the repo that break down the problems and suggest solutions, so other people can pick them up. @andreaskoepf what do you think? |
If I could get a list of features of the current bot (or the bot MVP) that would help a lot. |
Hi @AlexanderHott .. nice to see a discord bot expert here & thanks for the valuable feedback! Sure, if you want to rewrite the bot using hikari that would be very helpful. The main challenge for the bot is IMO beside the framework/impl details more the overall communication/workflow of the human feedback tasks. You almost certainly have a better overview than we over the bot-landscape and you may know what works and and what not. Could you ping me on the LAION discord server? |
[will be copied for further discussion/planning to notion] @AlexanderHott You probably already read the high level protocol documentation. In general a frontend (like the bot) can request a task at the backend. If a task of the requested type is available the backend sends it back for the human to provide input on/feedback for it. Depending on the task different interactions are necessary. A human feedback task can potentially consist of multiple steps. Currently the following tasks are defined (neither complete nor final set):
On of the critical decisions to make is how the users interact with the bot. Yannic was advocating for a group-interaction inside a channel that allows everyone to see posts of the other users (and potentially also interacting with them with emoji-reactions). Since different users will work at their own pace multiple tasks probably will have to be active at a given time and users should be able to request dedicated sessions. After prototyping some things I came up with the current structure of thread-based task-processing and self-destructing messages. Other earlier ideas looked much more cluttered and hard to follow. Different/better interaction concepts are up for debate. Some requirements for MVP are:
Additional things:
|
@AlexanderHott You can see the current bot running in the test-discord here: https://discord.gg/DttpNT4p |
Text labels are described in #40 .
Make sure the user can submit those for any post they see.
The text was updated successfully, but these errors were encountered: