slackrollpy | Simple implementation of a slack client
kandi X-RAY | slackrollpy Summary
kandi X-RAY | slackrollpy Summary
slackrollpy is a Python library. slackrollpy has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However slackrollpy build file is not available. You can download it from GitHub.
Simple implementation of a slack client for python based dice rolling bot using RTM. Depends on slack client for python. Edit the flags in slackroll.py -- you can also change the default messaging here if you'd like. Add your slack token and default channel to slacktoken.py. The syntax is pretty straightforward. Use roll or roll help to get help. In the basic "roll" command the minimum parameter is "#ds" with # being the number to roll and s being the number of sides, ie, roll 3d6 would roll three six-sided dice. You can also specify target num or t num to set a target difficulty (anything lower than num is a failure, equal to or above is a success). For example, roll 7d10t8 rolls seven ten-sided dice, and any at eight or above are considered successes. Exploding dice are indicated with explode num or e num (anything equal to or above num will be rerolled until it is no longer above, potentially giving multiple results per die rolled). For example, roll 7d10t8e10 would roll seven ten-sided dice, rerolling any tens until they are less than ten, and considering anything equal to or over eight to be a success. You can use the shorthand nwod num to roll using the default paramters for New World of Darkness (ten sided dice, target 8, roll again on 10). nwod 7 is equivalent to roll7d10t8e10. Finally, you can add the keyword rote to any command with a specified target number to reroll any failed rolls once. For example, roll 7d10t8e10 rote.
Simple implementation of a slack client for python based dice rolling bot using RTM. Depends on slack client for python. Edit the flags in slackroll.py -- you can also change the default messaging here if you'd like. Add your slack token and default channel to slacktoken.py. The syntax is pretty straightforward. Use roll or roll help to get help. In the basic "roll" command the minimum parameter is "#ds" with # being the number to roll and s being the number of sides, ie, roll 3d6 would roll three six-sided dice. You can also specify target num or t num to set a target difficulty (anything lower than num is a failure, equal to or above is a success). For example, roll 7d10t8 rolls seven ten-sided dice, and any at eight or above are considered successes. Exploding dice are indicated with explode num or e num (anything equal to or above num will be rerolled until it is no longer above, potentially giving multiple results per die rolled). For example, roll 7d10t8e10 would roll seven ten-sided dice, rerolling any tens until they are less than ten, and considering anything equal to or over eight to be a success. You can use the shorthand nwod num to roll using the default paramters for New World of Darkness (ten sided dice, target 8, roll again on 10). nwod 7 is equivalent to roll7d10t8e10. Finally, you can add the keyword rote to any command with a specified target number to reroll any failed rolls once. For example, roll 7d10t8e10 rote.
Support
Quality
Security
License
Reuse
Support
slackrollpy has a low active ecosystem.
It has 0 star(s) with 0 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
slackrollpy has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of slackrollpy is current.
Quality
slackrollpy has no bugs reported.
Security
slackrollpy has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
slackrollpy is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
slackrollpy releases are not available. You will need to build from source code and install.
slackrollpy has no build file. You will be need to create the build yourself to build the component from source.
Installation instructions are not available. Examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of slackrollpy
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of slackrollpy
slackrollpy Key Features
No Key Features are available at this moment for slackrollpy.
slackrollpy Examples and Code Snippets
No Code Snippets are available at this moment for slackrollpy.
Community Discussions
No Community Discussions are available at this moment for slackrollpy.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install slackrollpy
You can download it from GitHub.
You can use slackrollpy like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
You can use slackrollpy like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page