Autocompletion for bots commands
It would be useful to be able to enable autocompletion to our bot's commands. With this feature, people could easily view all the commands they can type in a server.
Like typing commands on Minecraft? That's a neat idea. Upvoted2
Hm, interesting. Perhaps a special feature for bot accounts that allows regular clients to interact with it? One feature being, as the OP suggests, autocompleting commands based on your permissions.
As a bot developer, this opens up a whole nother world of functionality. Definitely upvoted!2
It's good idea, but the problem is that bot doesn't recieve commands - it receives messages and does something with it (for example, if it starts with '!cat' it sends an image with cat). So they need to make api has commands as commands, not just message event (and maybe prefixes). Or your program can send JSON with commands, their aliases and short descriptions, like https://hastebin.com/tapikofixi.json (or you can set them on https://discordapp.com/developers/applications/<app id>/bots). I don't know about other API wrappers, but discord.py has built-in ability to use commands in your code, not just doing shit with messages. Interface like in Minecraft 1.13 would be good (Mojang made the "Brigadier" library open-source, but it's on Java, not JS).Discord has built-in interface like this, but only for built-in Clyde commands (check screenshot)3
I want! :D0
It seems like the best way to do this would be to give bots the ability to send syntax/command data to the server when it connects.3
well after 3 years i found this and now its here1
Du måste logga in om du vill lämna en kommentar.