Ask coding questions

← Back to all posts
How to make a discord bot send an image?
AnimeGlore

I would like to ask for instructions ask to how do I make a discord bot send an image from google when asked. For example, if I were to type to <$img Moon>, how would I command the bot to display that image(s) on discord?

Voters
AnimeGlore
Comments
hotnewtop
Coder100

Normally you can just send the url of the discord image and discord will do it.

If it local however,
https://stackoverflow.com/questions/52241051/i-want-to-let-my-discord-bot-send-images-gifs

AnimeGlore

@Coder100 can you tell me what do I and what can I replace (my_url) with?