MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / generateRandomSeed

Function generateRandomSeed

bizhi/bizhi.ts:88–95  ·  view source on GitHub ↗

* 生成随机种子

()

Source from the content-addressed store, hash-verified

86 * 生成随机种子
87 */
88function generateRandomSeed(): string {
89 const chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
90 let result = '';
91 for (let i = 0; i < 6; i++) {
92 result += chars.charAt(Math.floor(Math.random() * chars.length));
93 }
94 return result;
95}
96
97/**
98 * 从wallhaven获取高品质壁纸

Callers 1

fetchFromWallhavenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected