Autocompletion for bots commands

Comments

6 comments

  • oil man

    Like typing commands on Minecraft? That's a neat idea. Upvoted

    2
  • Kai

    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
  • Alice Carroll

    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
  • 루아kr

    I want! :D

    0
  • JustMaier

    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
  • Lightner

    well after 3 years i found this and now its here

    1

Please sign in to leave a comment.