mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix: benchmark type bug
This commit is contained in:
@@ -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: {},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user