Comments (1)
Thanks for the bug report. This actually isn't an issue with the bot though. You have the syntax wrong. The bot doesn't accept any spaces within the equation. So /r 1d20 + 3d6h + 3
should be written as /r 1d20+3d6h+3
. I tried it with the spaces removed and it worked for me.
The reason for this is that the bot separates the command by spaces. Before the first space is the command, before the second space is the equation, and anything after the second space is considered a comment. So in your example, the bot actually rolled 1d20 and then treated + 3d6h + 3
as a comment. It was just coincidence that the d20 landed on a 3. Hope that helps!
from rollem-telegram-bot.
Related Issues (20)
- The bot should work as well when talked directly using @ HOT 1
- Bot do not respond HOT 3
- d12 does not actualy work HOT 2
- Sometimes it refuses commands on supergroups HOT 2
- /help tells the user to type help(), which breaks the bot. HOT 4
- Add logging HOT 1
- Roll 'em Bot does not work! HOT 1
- Allow diacritcs in label HOT 1
- Dice rolling is bugged HOT 1
- Selective results notation is not incorporated HOT 4
- Bot Stopped working HOT 2
- Permission to delete roll HOT 1
- bot stopped working again HOT 1
- Bot is down HOT 1
- Roll from custom table
- Dice bot is not funcional HOT 1
- Bot dosen't work HOT 1
- help run with my token HOT 2
- No way to do 4d6dl
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rollem-telegram-bot.