Jarva / VelocityCarbonDiscord

4 stars 2 forks source link

[Feature] List available placeholders for every string in config #4

Closed unilock closed 2 months ago

unilock commented 11 months ago

It would be helpful to know what placeholders are provided by VelocityCarbonDiscord for every string in the configuration. For example:

discord:
   token: 'TOKEN'
   messages:
      # Available placeholders: <username> <message>
      chat_message: '<username>: <message>'
      # Available placeholders: <username> <server>
      join_message: '**<username> joined <server>**'
      # Available placeholders: <username> <server>
      leave_message: '**<username> left <server>**'
      # Available placeholders: <username>
      disconnect_message: '**<username> was disconnected**'
      # Available placeholders: <username> <server> <previous_server>
      server_switch_message: '**<username> moved from <previous_server> to <server>**'
etc.

(the above example may be more verbose than necessary)