More small tweaks
This commit is contained in:
@@ -24,7 +24,7 @@ export default {
|
||||
.setContexts(InteractionContextType.Guild),
|
||||
|
||||
async execute({ interaction }) {
|
||||
await interaction.deferReply({})
|
||||
await interaction.deferReply()
|
||||
|
||||
const ign = interaction.options.getString("ign")!
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ export default async function removeGuildRoles(interaction: ChatInputCommandInte
|
||||
|
||||
const hypixelGuildMembers = guildData.members.map(gmember => gmember.uuid)
|
||||
|
||||
const verifiedUsers = await db.query.verifies.findMany({})
|
||||
const verifiedUsers = await db.query.verifies.findMany()
|
||||
|
||||
for (const gmember of guildMembers) {
|
||||
const gmemberuuid = verifiedUsers.find(user => user.userID === gmember.id)?.uuid
|
||||
|
||||
@@ -50,7 +50,7 @@ export default async function autoDeployCommands(fileType: FileType, client: Ext
|
||||
|
||||
client.on("ready", async (c) => {
|
||||
const guildclient = c.guilds.cache.get(env.dev.guildid)!
|
||||
const currentCommands = await guildclient.commands.fetch({})
|
||||
const currentCommands = await guildclient.commands.fetch()
|
||||
if (!currentCommands) return
|
||||
|
||||
const currentCommandsData = currentCommands.map(command => {
|
||||
|
||||
Reference in New Issue
Block a user