Goodin
Goodin
DIAdiscord.js - Imagine an app
Created by Goodin on 1/16/2024 in #djs-questions
Interaction Failed
cause I can't reply to it again
13 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 1/16/2024 in #djs-questions
Interaction Failed
I just need it to not say interaction failed now
13 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 1/16/2024 in #djs-questions
Interaction Failed
Ok i got it
13 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 1/16/2024 in #djs-questions
Interaction Failed
I am try to have a multi selection menu that just logs the selection
13 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 1/16/2024 in #djs-questions
Interaction Failed
What do you mean?
13 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 6/25/2023 in #djs-questions
Broken Command Handler
i changed the name
10 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 6/25/2023 in #djs-questions
Broken Command Handler
i'm a idiot
10 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 6/25/2023 in #djs-questions
Broken Command Handler
I am getting that the url in attachment.url is blank
10 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 6/25/2023 in #djs-questions
Broken Command Handler
module.exports = {
data: new SlashCommandBuilder()
.setName('scrape')
.setDescription('Scrape a username list')
.addAttachmentOption(option =>
option.setName('file')
.setDescription('Input a file to be scraped')),
async execute(interaction) {


// Create embed with league information


const attachment = interaction.options.getAttachment("input")

const url = attachment.url
const response = await axios.get(url);
console.log(response)
// if there was an error send a message with the status
if (!response.ok){
console.log(response.statusText)
}

// take the response stream and read it to completion
const text = response.data;
var test = ""
module.exports = {
data: new SlashCommandBuilder()
.setName('scrape')
.setDescription('Scrape a username list')
.addAttachmentOption(option =>
option.setName('file')
.setDescription('Input a file to be scraped')),
async execute(interaction) {


// Create embed with league information


const attachment = interaction.options.getAttachment("input")

const url = attachment.url
const response = await axios.get(url);
console.log(response)
// if there was an error send a message with the status
if (!response.ok){
console.log(response.statusText)
}

// take the response stream and read it to completion
const text = response.data;
var test = ""
10 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 6/25/2023 in #djs-questions
Broken Command Handler
it was working just fine before I chagned the name of the command for some reason
10 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 6/25/2023 in #djs-questions
Broken Command Handler
the problem I am having now is it is giving me null when uploading a file and trying to get the URL
10 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 6/25/2023 in #djs-questions
Broken Command Handler
so I figured out the first problem
10 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 6/25/2023 in #djs-questions
Fetching all members
thanks i got it
18 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 6/25/2023 in #djs-questions
Fetching all members
sorry I am finally migrating over from v12
18 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 6/25/2023 in #djs-questions
Fetching all members
how would I define the guild then
18 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 6/25/2023 in #djs-questions
Fetching all members
Ok i have that turned on
18 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 6/25/2023 in #djs-questions
Fetching all members
Ok so i need to turn that one
18 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 6/25/2023 in #djs-questions
Fetching all members
It isn't fetching the guild
18 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 6/25/2023 in #djs-questions
Fetching all members
is that all I use to get that
18 replies
DIAdiscord.js - Imagine an app
Created by Goodin on 6/25/2023 in #djs-questions
Fetching all members
const guild = await client.guilds.fetch("744781274052296704");
18 replies