linted files according to linter
This commit is contained in:
@@ -17,7 +17,7 @@ module.exports = {
|
||||
id = interaction.options.getInteger('id');
|
||||
console.log(`Profile: Looking up "${id}"`)
|
||||
}
|
||||
userdata = await torn.user.profile(id).catch(console.error);
|
||||
let userdata = await torn.user.profile(id).catch(console.error);
|
||||
if (!userdata.name) {
|
||||
console.log("Profile: Unable to resolve profile")
|
||||
await interaction.reply("Failed to get profile data :(").catch(console.error);
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
const { SlashCommandBuilder } = require('discord.js');
|
||||
const torn = require('../../torn.js');
|
||||
|
||||
module.exports = {
|
||||
data: new SlashCommandBuilder()
|
||||
|
||||
Reference in New Issue
Block a user