sir-robin icon indicating copy to clipboard operation
sir-robin copied to clipboard

AoC: Convert commands to hybrid slash commands (ephemeral where reasonable)

Open janine9vn opened this issue 1 year ago • 5 comments

The following commands should be converting to hybrid slash commands:

  • daystar
  • leaderboard
  • global leaderboard
  • stats
  • countdown (#101)

The following commands should be converted to slash-only and be ephemeral:

  • connect/link
  • disconnect/unlink

The following commands should only be able to be run in advent-of-code-bot-commands, sir-lancebot-playground, or bot-commands. If they are tried to run elsewhere, they should redirect to advent-of-code-bot-commands and let the user know.

  • daystar
  • leaderboard
  • global leaderboard
  • stats

janine9vn avatar Nov 02 '23 16:11 janine9vn

@n0Oo0Oo0b would you like to split this issue up into tasks? There seems to be a lot of commands / tasks involved and I'd be willing to take up some of that work if you don't mind.

Robin5605 avatar Nov 02 '23 19:11 Robin5605

@n0Oo0Oo0b would you like to split this issue up into tasks? There seems to be a lot of commands / tasks involved and I'd be willing to take up some of that work if you don't mind.

Sure, how should I split the tasks?

n0Oo0Oo0b avatar Nov 03 '23 02:11 n0Oo0Oo0b

@n0Oo0Oo0b would you like to split this issue up into tasks? There seems to be a lot of commands / tasks involved and I'd be willing to take up some of that work if you don't mind.

Sure, how should I split the tasks?

@n0Oo0Oo0b I think splitting it up the same way Kat's done it should work. We could make PRs for each of them, so they can be reviewed more effectively. For instance, a PR titled Convert &daystar command into a hybrid command. This way we can get multiple people working on this issue at once as well

Robin5605 avatar Nov 04 '23 02:11 Robin5605

Seems like converting all of them in one go would be pretty straightforward (see https://github.com/python-discord/sir-robin/pull/101#issuecomment-1803742152), so I don't think it's necessary to split this issue up anymore.

n0Oo0Oo0b avatar Nov 09 '23 12:11 n0Oo0Oo0b

@janine9vn just wanted to ask, what's the reasoning behind making only the link/unlink commands fully slash commands, and making the other hybrids?

Robin5605 avatar Nov 29 '23 20:11 Robin5605