https://github.com/lxl66566/koishi-plugin-rollfd
Roll random points.
https://github.com/lxl66566/koishi-plugin-rollfd
bot koishi roll
Last synced: about 1 month ago
JSON representation
Roll random points.
- Host: GitHub
- URL: https://github.com/lxl66566/koishi-plugin-rollfd
- Owner: lxl66566
- License: mit
- Created: 2023-07-24T13:12:22.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-24T13:15:33.000Z (almost 3 years ago)
- Last Synced: 2025-02-17T22:50:32.437Z (over 1 year ago)
- Topics: bot, koishi, roll
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/koishi-plugin-rollfd
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# koishi-plugin-rollfd
[](https://www.npmjs.com/package/koishi-plugin-rollfd) English | [中文](./docs/zh-cn.md)
roll points, integers and decimals
## Usage
` [[l] [r]] [num=1]` (left and right boundaries included)
* `rd`: get a random integer (plugin default range 1-100)
* `rd 3`: get 3 random integers
* `rd 1 10`: get a random integer in [1,10].
* `rd 1 10 3`: get 3 random integers in [1,10].
`rf` same (plugin default range 0-1)