bra1n / judgebot

Discord Bot for Magic: The Gathering / Judge related content
https://discord.com/api/oauth2/authorize?client_id=240537940378386442&permissions=274878187520&scope=applications.commands%20bot
GNU General Public License v3.0
34 stars 17 forks source link

Slash typescript #159

Closed multimeric closed 2 years ago

multimeric commented 2 years ago

Changes

TODO

multimeric commented 2 years ago

I think I need a specific set of minimal requirements before you will merge here, because I'm still of the opinion that this is good to go as a starting point.

bra1n commented 2 years ago

I think I need a specific set of minimal requirements before you will merge here, because I'm still of the opinion that this is good to go as a starting point.

From what I've seen, the changes look good so far! I guess there are only 3 things I'd consider mandatory before releasing the bot:

multimeric commented 2 years ago

The first two are easy. Listening for messages I think is an issue because it will force the bot to use the gateway at all, which I think (not certain) is what causes the disconnects, because Discord boots the bot off the gateway. So I'd rather go with the status option there.

bra1n commented 2 years ago

Ah yeah, that makes sense. How about a small change to the old code that shows a warning that the bot will switch to /slash commands in the near future, and then deploy the new version in a week or so?

multimeric commented 2 years ago

Sure, I'd be happy to do that. I can write a PR for that in a few days.

multimeric commented 2 years ago

Hmm I wanted to use the status but there's not really enough space to convey any message. What kind of warning do you suggest?

image

bra1n commented 2 years ago

Hm yeah, fair point. Maybe just "Listening to /slash commands [or just 'cmds'] now"? We can put some extra text in the "about me" box like this: image

multimeric commented 2 years ago

Yep that's doable, but I think you have to edit the bio because it will be in the app dashboard.

multimeric commented 2 years ago

Also my feeling is that "slash command" isn't a term that most users will be familiar with. So I'm wondering if there's a way to write it in a way users will understand. My current approach is: image

(that's the Soon emoji)

bra1n commented 2 years ago

As mentioned earlier, I'd add a separate info message to the current !card command to prepare people for the release, which should hopefully give enough warning before we release the new version. So what you suggested should be fine.