nisnevich / discord-consensus-bot

A Discord bot for a consensus in decentralised organisations (e.g. DAO). Implements a lazy consensus and full consensus models.
MIT License
5 stars 4 forks source link

Incorrect format validation in some cases #28

Closed nisnevich closed 1 year ago

nisnevich commented 1 year ago

Two examples:

https://discord.com/channels/1050409057955086397/1069378370665709579/1072593708064706610

!propose @yulston#0081 500000 To buy Tesla Cybertruck cars for bot developers ( @flarcos#1467 s @Jeremie#7539 mie @raoeco#3755 eco @Saulo#9999 ulo) For travel during business hours.

results in

Oopsie! The command format is as important as the ingredients in a cake. Make sure you got it right. !propose @mention amount for a pet dragon.

https://discord.com/channels/1050409057955086397/1069378370665709579/1073004592721301684

!propose @Irina2610 5000 for lipstick @Docdim 500 for wiski @Valirini 700 for wallet (Moneybox)

results in

Oopsie! The command format is as important as the ingredients in a cake. Make sure you got it right. !propose @mention amount for a pet dragon.