列表功能的小尝试——反馈插件

最近用了官方QQ机器人,feedback插件因为机器人自己发消息的次数限制不能正常使用了,于是想着用blockly拼一个反馈插件出来,正好当做列表功能的小练习(雾)

首先,用户可以使用反馈+内容的指令进行反馈,这里使用了反馈中一般不会出现的%作为间隔,方便下列步骤从文本转成列表


用户看到的大概就是酱紫
image

然后,可以用从文本转列表把用户的反馈制作成列表,并加序号,更加美观


image

随后,创建指令“反馈回复”,作为机器人的作者,我们就可以用指令来回复对应的回复力


然后,防止过多的空白反馈,又创建了“反馈删除”指令


image
image

最后,别忘了把“反馈回复”和“反馈删除”权限要求提高,防止别人随意更改

插件如下,欢迎大佬批评指正 :smiling_face_with_three_hearts:

插件名称: 反馈
导出时间: 2024/8/17 13:42:10
-=-=-=-=--=-=-=-=- BEGIN KOISHI BLOCKLY BLOCK V1 -=-=--=-=-=--=-=--=-=-=-
H4sIAAAAAAAAA+VcaXOqTNP+LSnlLU1cQERFy4oguO+7+UKhouICKrh+8Lc/PahZ
jBhizDnnrrcqMQizXNPd0+sQLMhiPt9KWmiyqsBVmHDB52yyHMiK8O42/BIen4fA
4cJl9FB66kIzHlEsRnHoZkftbY07xqCdidoda2/fJ6IyWIoDqfE2Ku762A5GMprq
25l0nLWrTqei0jtOK/eOtzGK94lYkCtkdgQMRenjeAAL4OlpJnWCuEFNSYJC1wYs
t88fdBlDTibiTJOMsfTFUkI3pY2+EKu6qEtviGfiQpxKurT4iE6BmycYPIWFElgI
LgIYTWEsju7QOBbiMD6IMUF05wBnIc2X8uLjpO/WKSpb4XU+NHKQA6rCJ2rXl6VJ
7x0pLyCA+WiMCWCh0KGzQS1lttTfdRO7+omdbxx6+/oOzVjaCitxspSE9UI2SPKB
+s8qA+BeepRrzkUI6ilLlkOEfGp1NqvWVWeScOx7uDMUe+r64sRHyZM/MdxRnz0C
07FgfJnv7pr4JNwFtpczRfxIrMOSAbileXTg9yeZCsbtWQU+pWJR8fiCXuUBpujX
1Mix5Tkbanyr9gUb3pAZ5LwZ27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1RsLVUs9okPfp6MP/8Uq6Edy/sUqqAmQX62C
gh53CLZhRw+Wnz2dWbefUAYpsxNJf7wC6q3W3YWJgydSU70zzebKh3162na/Y+Vh
ayb3Gz1b86RcgYL25EwSbO3jfzr4iZX3VezGASI2NNKKtbgxKPvUdjj54r9UCwWM
kV68X9Yy7vlsLCzt7kF59sO3CX9eC31JEepArQbCkwFb6rdyFefslGH5lSooAF+G
A3ZUgXfs0XmB3X729FwLhtYmlLhPHdRKXExG8FFrVVtIwSWBjxpL4xQ0xQZMyHGP
yBgVNaZ2B2dHJ5oH4EJRDToKtBk3XhMcfyU+doKwdo3EJT8WuJAiCO4huAfUSzBk
pXqPShlgzC8q4Wuvcd0n4k1HZ5EcOpdXayjNQA9liRvK2M6YAP8Y7QoVPl9snIzQ
Xw16lX29GNeCs0RttSfaS5gyVs7eFE3+WtA7kO31WIYKs7MKGxvVQ91uYmYN4DXT
/GfC3RUf3D+4uQqlplzoUGVFVYejU6zzO4aw5/aV3bAKn22j24dOYcLujT2G3csU
CnaFWUvu9U4X8jIo1/pul9HNjob+wWDXn4Qgg3oiXa6YoGRC4W3P5+XMRPlPBbt8
dQzNY0B/PB700dFa3407wDJx0a81xR8MePd1MAjN9WNxu84gXyAYd8ov6cKiaXas
7s8FvbVhZsMyD4Vlqapkw8EwhBkcHrPA1tuCXupNGA/kMo00EdfPwTIq4Q+kl932
c2f+TMwzlXWmemLhef9Li1Wbey9HbNNc9gGmXNiaXDoRjWKn4NP1uvHdEJWKb+vu
SVp3Ic/0t//Ndxz5GKO/I9Gl8DRovGvNve2E19biUh+qoNkOsfqRNJeU6wUhMBvi
OIr+Rt0g+1H5fvHP7FCb5fKt1uCXen6y43cHcaLj9uNSz01Lwb5bognc36X6Xalz
fBHzf5veHYjcUAAA
-=-=--=-=-=--=-=-=-=- END KOISHI BLOCKLY BLOCK V1 -=-=--=-=-=--=-=--=-=-=-

3 个赞

可以不批评也不指正嘛… 夸你可以嘛… 嗯?(歪头看你)

2 个赞

唔,大佬好温柔~蟹蟹

2 个赞

哇哦,好棒。
不过。反馈中出现%的可能性还是很大的。。
或许我们可以用两个不易出现的符号共同作为间隔符。
:blush:

3 个赞

我似乎也正在写这类的插件。不过是类似工单的…

用户查看自己的

3 个赞

群主我要色色

3 个赞

搜嘎,感谢大佬的意见

2 个赞

是的嘞,我就是看到你的反馈插件才有的灵感~感谢大佬

2 个赞