DiscordSRV

DiscordSRV

86.8k Downloads

Ability to parse PAPI as the linked MC user in Canned responses

Eloujah opened this issue ยท 1 comments

commented

Why?

Here is an usage example: We would like to add a !votecount command, and the response would be Your votes count this month: %VotingPlugin_Total_Monthly%.
Unfortunately, right now, it is not working as the placeholder is not parsed as the linked MC user.

What and How?

Parse the placeholders in canned responses as the linked MC user.
Because some Discord users are not linked to their Minecraft account, we will need a second list of canned responses only for linked users. These canned responses respond a "You need to link your accounts" message if you try them with an unlinked account.

Are there alternatives?

An alternative would be #1183. The alternative of the given example would be !votecount Username.

Checks

  • I have used the search at least once to check if my idea has already been suggested and perhaps already implemented.

Anything else

No response

commented

Canned responses are simple by design, this would ideally need to have two different responses depending on whether the Discord us has linked or not. I think #384 would be a far more suitable solution to this