fix: benchmark type bug

This commit is contained in:
Skillz4Killz
2023-05-05 23:42:14 +00:00
parent 1d232ac34a
commit 4a6e22d192
@@ -1,7 +1,6 @@
import {
ApplicationFlags,
ButtonStyles,
iconHashToBigInt,
InteractionTypes,
MessageActivityTypes,
MessageComponentTypes,
@@ -11,19 +10,20 @@ import {
TeamMembershipStates,
TextStyles,
UserFlags,
iconHashToBigInt,
type Bot,
type DiscordMessage,
createBot,
} from '@discordeno/bot'
import { MemberToggles } from '@discordeno/bot/dist/transformers/index.js'
import { createBot } from '../../../bot/dist/index.js'
import { memoryBenchmark } from '../utils/memoryBenchmark.js'
import { MemberToggles } from '@discordeno/bot/dist/transformers/index.js'
export const CHANNEL_MENTION_REGEX = /<#[0-9]+>/g
const MESSAGE_SIZE = 20000
const bot = createBot({
token: process.env.DISCORD_TOKEN ?? " ",
token: process.env.DISCORD_TOKEN ?? ' ',
applicationId: 1n,
events: {},
})