Major API update idea
Code examples will be on Python
The first thing I want is events when I click on the spoiler. For example, the user clicked on the spoiler and you can uncheck spolier, that is -
spolier.uncheck() - uncheck spolier
spolier.text - spolier text
spolier.update('new text') - edit spolier text
I would also like to be able to make individual messages (which are visible only to one user, that is, the team executor) and also the message can be removed (just like messages from Clyde)
It would also be cool if in embeds you could write colored text to bots, for example "[#ff0000]Text[/]" will give to you red text
It will also be more convenient if the limit on the number of characters in the embed is removed, but if there are more than 2048 characters, then the size of the embed ceases to increase but the scrollbar is added
Also add the ability to add several pictures to embeds at once, for example:
embed.add_image(url='image')
embed.add_image(url='image2')
will add two images to embed. Also allow leaving a blank title or description in embed fields, which will add a title line or description line
Also add the ability to add buttons to the embed, for example:
embed.add_button(text="Click me!", event=someFunction)
Also add the ability to position any elements in the embed with x_pos and y_pos
And make it possible to set the embed size (if the size is too small a scrollbar will be added)
Also, I would like to make it possible for bots to add reactions in the message itself, not under it, i.e. "{:emoji:}" or something like this
I also want the bots to be able to show the dialogue boxing to the authors of the message, example:
message.author.show_dialogbox(title='Dialogbox', description='hello').addButton(text='Hi', event=func1).addButton(text='Hi', event=func2)
5
Accedi per aggiungere un commento.
Commenti
0 commenti