Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 416 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 416 Bytes

Random reaction

Bot can add reaction on message based on probability. You can configure which reaction use and what probability this one can appears

Configuration

chance: 1000
reactions:
  heart": 20
  yellow_heart: 1
  • chance: roll a dice, if reactions[reaction] < [0;chance[; add reaction
  • reactions: is a map[reaction]probability, key is the reaction and value is used with chance