Rolisteam / DiceParser

Powerful dice Roller is used as discord bot, irc bot, cli tool and inside Rolisteam : 1d20+4, 1L[head,arm,leg,belly,chest], 1d6+1d8, 8+5*3
http://www.rolisteam.org/
GNU General Public License v3.0
125 stars 31 forks source link

Discord - Roll at Different Channel #116

Closed ValeTheVioletMote closed 3 years ago

ValeTheVioletMote commented 3 years ago

Allow some means of rolling that directs the bot to dump the output in a directed channel (likely by the user providing the channel id).

I'd like to be able to write up a complex roll with logic and have it output to a different channel. If I want to hide, for example, that my player needed a 14, and as such simply output the string result of the roll.

Potential issue: a malicious user takes advantage of the bot's permissions and dumps a roll into a channel that the bot can write to, but the user cannot.

obiwankennedy commented 3 years ago

I just deploy a new version of the bot with a feature to do so.

!=>#Channelname 1d6

Above command displays the result of 1d6 into #Channelname.

screen shots: command: image

result: image

ValeTheVioletMote commented 3 years ago

Awesome!!! Thank you so much!