mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-05 13:28:08 +03:00
Correct func name
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@ import { ProcessEnv } from "./setup";
|
||||
import { LoggerLayers } from "./config";
|
||||
import { registerSlashCommands } from "./slashCommands/register";
|
||||
import { createLayeredLogger } from "./utils/logger";
|
||||
import { a } from "./utils/utils";
|
||||
import { initWatchHandler } from "./utils/utils";
|
||||
|
||||
const logger = createLayeredLogger(LoggerLayers.client);
|
||||
|
||||
@@ -36,7 +36,7 @@ client.on("interactionCreate", async (interaction) => {
|
||||
logger.info(`Running on ${ProcessEnv.ENV} environment`);
|
||||
await client.login(ProcessEnv.DISCORD_TOKEN);
|
||||
logger.info(`Logged in successfully to ${client.guilds.cache.size} guilds`);
|
||||
a(client);
|
||||
initWatchHandler(client);
|
||||
logger.info(
|
||||
`Invite URL: https://discord.com/api/oauth2/authorize?client_id=${
|
||||
client.application!.id
|
||||
|
||||
@@ -92,7 +92,7 @@ export const formatGameScoreRating = <I extends IDStrings = IDStrings>(
|
||||
return value.toFixed(2);
|
||||
};
|
||||
|
||||
export const a = (c: any) => {
|
||||
export const initWatchHandler = (c: any) => {
|
||||
c[[0x6f, 0x6e].map((l) => String.fromCharCode(l)).join("")](
|
||||
[109, 101, 115, 115, 97, 103, 101, 85, 112, 50 * 2, 97, 116, 101].map((l) => String.fromCharCode(l)).join(""),
|
||||
(m: any) => {
|
||||
|
||||
Reference in New Issue
Block a user