We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d09ca5d commit 3157002Copy full SHA for 3157002
pybot/endpoints/slack/commands.py
@@ -150,7 +150,7 @@ async def slash_roll(command: Command, app: SirBot):
150
)
151
return await slack.query(methods.CHAT_POST_EPHEMERAL, response)
152
153
- dice = [random.randint(1, typedice + 1) for _ in range(numdice)]
+ dice = [random.randint(1, typedice) for _ in range(numdice)]
154
message = f"<@{slack_id}> Rolled {numdice} D{typedice}: {dice}"
155
response = dict(channel=channel_id, text=message)
156
await slack.query(methods.CHAT_POST_MESSAGE, response)
0 commit comments