leaderbord

main
suhas 2 years ago
parent 0ea8a441db
commit a52d005be4

@ -1,5 +1,5 @@
import { PrismaClient } from '@prisma/client'
import { SlashCommand, SlashCreator, CommandContext, MessageEmbed } from 'slash-create'
import { SlashCommand, SlashCreator, CommandContext } from 'slash-create'
export default class LeaderboardCommand extends SlashCommand {
constructor(creator: SlashCreator) {
@ -9,7 +9,6 @@ export default class LeaderboardCommand extends SlashCommand {
})
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
async run(ctx: CommandContext) {
const prisma = new PrismaClient()
const users = await prisma.user.findMany({

Loading…
Cancel
Save