style: remove unused imports, update readme

This commit is contained in:
xHyroM 2022-07-10 18:43:47 +02:00
parent 28584ed76a
commit 4c6de26ef0
4 changed files with 5 additions and 3 deletions

View file

@ -0,0 +1,2 @@
# Bun discord bot
Official serverless [discord](https://bun.sh/discord) bot for [bun](https://bun.sh/) runtime

BIN
bun.lockb

Binary file not shown.

View file

@ -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({

View file

@ -34,7 +34,7 @@ export const findTags = (name: string) => {
name,
value: name
}
]
];
else return findTags(null);
}
}