Eventually fixed all the errors in the RandomInviteID

This commit is contained in:
Erkin Alp Güney committed 2021-11-30 22:04:48 +03:00
1 parent a4fdaf0352
commit dabe8f501c
1 file changed
+1 -1
+1 -1
View File
@@ -24,7 +24,7 @@ export function snowflakeBasedInvite() {
let str = "";
for (let i=0; i < 10; i++) {
str += chars.charAt(BigInt.asUintN(32, snowflake % base));
str.concat(chars.charAt(Number(snowflake % base)));
snowflake = snowflake / base;
}