cordless icon indicating copy to clipboard operation
cordless copied to clipboard

"Custom" "Emojis" - basically, image upload macros

Open Southclaws opened this issue 4 years ago • 5 comments

What do you want

I want to type image in DMs without paying for Nitro...

Why

Because I'm extremely frugal...

Implementation hints

Jokes aside, this is pretty much just another "macro" where a particular pattern of characters triggers an action.

In this case, the characters would be :[a-zA-Z0-9]+: and the action would be to upload some arbitrary image.

May or may not be useful - a bit silly I know, considering the actual user wouldn't even see the image. But... worth writing anyway I guess 🤷‍♂

Southclaws avatar Sep 04 '19 15:09 Southclaws

tbh, could actually do this via a JS script :man_shrugging: Or did you think of attaching files instead of image links? Could just extend the JS API in that case :man_shrugging:

Bios-Marcel avatar Sep 07 '19 11:09 Bios-Marcel

That sounds like a much better and more generic solution 👍

Southclaws avatar Sep 09 '19 12:09 Southclaws

Hm, actually I just rememered, that I wanted to avoid the scripts to be able to access the internet / your local network / harddrive, therefore this might not actually work :thinking:

However, maybe what I need is a permissions system of some kind. Depending on how far I take the scripting, I want to have some kind of package manager thing that allows installing packages via a URL; those can then request certain permissions and interface with the respective functions.

Bios-Marcel avatar Sep 12 '19 17:09 Bios-Marcel

aaaaand there's the scope-creep :D

Southclaws avatar Sep 12 '19 20:09 Southclaws

image

Bios-Marcel avatar Sep 12 '19 20:09 Bios-Marcel