Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

119
Views
API to pull an image from Imgur into a discord bot

I am attempting to make an API that pulls images from imgur in order to run them through a discord bot using python that, in turn, posts that image in the discord server. I have some coding experience but have never made an API before and would like any and all advice or assistance.

I need to write the api that pulls the image from imgur so that it outputs it on a website to use as a webhook for the discord bot

In advance, thank you for your time, and have a pleasant morning, afternoon, evening, or night.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Discord.js gives a couple of examples of how to do this in their docs under TextChannel.send:

https://discord.js.org/#/docs/main/stable/class/TextChannel?scrollTo=send

// Send a remote file
channel.send({
  files: ['https://cdn.discordapp.com/icons/222078108977594368/6e1019b3179d71046e463a75915e7244.png?size=2048']
})
  .then(console.log)
  .catch(console.error);
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!