Parent Directory
|
Revision Log
chore: add trunk
1 | rakinar2 | 575 | import { Snowflake } from "discord.js"; |
2 | |||
3 | export function randomSnowflake(): Snowflake { | ||
4 | let snowflake = ""; | ||
5 | |||
6 | for (let i = 0; i < 18; i++) { | ||
7 | snowflake += Math.floor(Math.random() * 10); | ||
8 | } | ||
9 | |||
10 | return snowflake; | ||
11 | } |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |