Moved to bun

This commit is contained in:
2025-08-09 23:42:54 +02:00
parent 8a686222be
commit 30e18257d0
20 changed files with 608 additions and 5078 deletions

View File

@@ -33,6 +33,7 @@ export const topSub = new SlashCommandSubcommandBuilder()
const cmd: SubCommand = async ({ interaction }) => {
await interaction.deferReply()
await redis.connect()
const query = interaction.options.getString("query")!
const type = interaction.options.getString("type") || "ign"
@@ -227,6 +228,7 @@ const cmd: SubCommand = async ({ interaction }) => {
const cacheStatusText = cacheStatus ? " | [Cache]" : ""
await redis.close()
await interaction.editReply({
embeds: [{
title: "Top members of " + guildName,