An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# koishi-plugin-rollfd

[![npm](https://img.shields.io/npm/v/koishi-plugin-rollfd?style=flat-square)](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)