BYU-CS-Discord / CSBot

The One beneath the rule of the Supreme Overlord (of our Discord server. This is a Discord bot, lol.)
BSD Zero Clause License
9 stars 3 forks source link

Slash Command - Tagging #10

Open gmacgre opened 2 years ago

gmacgre commented 2 years ago

/tag <name> <link> creates a "tag", which is a named link (because discord automatically displays image links, this also functions as a named image). This tag is saved in a database.

/send <name> with then cause the bot to post the link

SpencerHastings commented 2 years ago

idea I had, I'm guessing there will be a command to list available tags as an ephemeral message, but since listing all the images as well in that would be cumbersome, an additional command like /preview that essentially is the same as /send but it sends the message with the image ephemerally would be useful to see what a tag is privately

also another thing, I since subcommands are a thing, it would be cool to do it so all the commands start with /tag and then are the subcommands /tag add, /tag send, /tag list, /tag preview, etc

JstnMcBrd commented 2 years ago

I like the idea of having all tag-related commands be subcommands grouped together.