diff --git a/README.md b/README.md index e69de29..0a1eca6 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,2 @@ +# Bun discord bot +Official serverless [discord](https://bun.sh/discord) bot for [bun](https://bun.sh/) runtime \ No newline at end of file diff --git a/bun.lockb b/bun.lockb index af769a5..5ef2cff 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/src/index.ts b/src/index.ts index b329e25..b00c54f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,7 +6,7 @@ import { Logger } from './utils/Logger'; import config from '../files/config.toml'; import loadCommands from './utils/loadCommands'; import { verifyKey } from './utils/verify'; -import { APIPingInteraction, APIApplicationCommandInteraction, APIMessageComponentInteraction, InteractionType, InteractionResponseType, ApplicationCommandType, APIApplicationCommandAutocompleteInteraction, ApplicationCommandOptionType, APIApplicationCommandOption } from 'discord-api-types/v10'; +import { APIPingInteraction, APIApplicationCommandInteraction, APIMessageComponentInteraction, InteractionType, InteractionResponseType, ApplicationCommandType, APIApplicationCommandAutocompleteInteraction, ApplicationCommandOptionType } from 'discord-api-types/v10'; import { CommandContext } from './structures/contexts/CommandContext'; import { Commands } from './managers/CommandManager'; import registerCommands from './utils/registerCommands'; @@ -72,7 +72,7 @@ app.post('/interaction', bodyParse(), async(c) => { data: { content: 'Beep boop. Boop beep?' } - }) + }); }) await Bun.serve({ diff --git a/src/utils/tagsUtils.ts b/src/utils/tagsUtils.ts index 88d0803..4e6cb76 100644 --- a/src/utils/tagsUtils.ts +++ b/src/utils/tagsUtils.ts @@ -34,7 +34,7 @@ export const findTags = (name: string) => { name, value: name } - ] + ]; else return findTags(null); } } \ No newline at end of file