From dfc683a181738d12fc5e8c8512fbe83d707f9ebf Mon Sep 17 00:00:00 2001 From: The-Foxon Date: Sun, 16 Jul 2023 20:10:14 +1200 Subject: [PATCH] change pull size of chatlink accaunts --- src/commands/Link.ts | 2 +- src/commands/UserMessage.ts | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/commands/Link.ts b/src/commands/Link.ts index 63a2185..c612420 100644 --- a/src/commands/Link.ts +++ b/src/commands/Link.ts @@ -25,7 +25,7 @@ export default { await interaction.deferReply({ ephemeral: true }) const code = Math.floor(1000 + Math.random() * 9000).toString(); - const codeUser = Math.floor(1000 + Math.random() * 9000).toString(); + const codeUser = Math.floor(Math.random() * 10).toString(); try { if (!!codeConfirmation && !!userG) { diff --git a/src/commands/UserMessage.ts b/src/commands/UserMessage.ts index bf50942..8d47671 100644 --- a/src/commands/UserMessage.ts +++ b/src/commands/UserMessage.ts @@ -1,8 +1,6 @@ -import { CacheType, ChatInputCommandInteraction, Message, PermissionFlagsBits, SlashCommandBuilder } from 'discord.js'; -import ConfigController from '../controller/ConfigController'; +import { SlashCommandBuilder } from 'discord.js'; import EcoController from '../controller/EcoController'; import { Command } from '.'; -import { userInfo } from 'os'; export default { data: new SlashCommandBuilder()