DiscordSRV

DiscordSRV

86.8k Downloads

Misleading Documentation in alerts

blue-pinapple opened this issue ยท 0 comments

commented

Why?

This is a small change, but I spent a long time figuring it out. I think it's important to have correct documentation in the configs.

What and How?

Around line 37 in alerts.yml it says:

#  You can use the following expression placeholders, as seen above:
#   #plugins.<plugin> - the specified plugin instance, null if doesn't exist

When it should say

#  You can use the following expression placeholders, as seen above:
#   #plugins.get('plugin') - the specified plugin instance, null if doesn't exist

Are there alternatives?

It's just a small thing, so it's ok if it's not implemented

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