koishi-plugin-yunzai
Version:
a yunzai adapter for koishi
18 lines (17 loc) • 509 B
TypeScript
export declare class Random {
static sample(array: Array<any>, count: number): any[];
/**
* random integer in the range
* @param start
* @param stop
*/
static randint(start: number, stop: number): number;
/**
* output string of selected length
* > default set is `a-zA-Z0-9`
* @param length the string length
* @param set string collection
*/
static randstr(length: number, chars?: string): string;
static randUA(device: string): string;
}