smultar / discord.vdm

A virtual direct message handler, that mirrors a conversation with its contents between a thread and a target user's dms. Extremely useful for server ticket systems, or a personalized direct messages for client handing.
MIT License
8 stars 4 forks source link

default to current channel for close command #15

Open draeath opened 2 years ago

draeath commented 2 years ago

Sometimes a user has a name that is not able to be entered or such. It would be useful when the /ticket close (or /dm close) command is used without providing a channel or user argument for it to default to the channel that the command was entered in, if applicable.

This came up when attempting to close a channel named after a user with a Chinese name. They were not in the auto-completion drop-down and with a US keyboard, entry of the appropriate symbols was impossible.

I was able to use the clipboard, but that might not always be viable (ie, mobile use, where selection for such purposes in Discord is almost entirely useless, leaving one only able to copy entire messages)