All Questions

Tagged with
Filter by
Sorted by
Tagged with
24 votes
7 answers
170k views

How can I send an embed via my Discord bot, w/python?

I've been working on a Discord bot, and I'd like to make things more custom. I've been trying to make the bot send embeds, instead of normal messages. embed = discord.Embed(title="Tile", ...
Norberto A.'s user avatar
21 votes
2 answers
58k views

How to create own embed site for Discord

As your know, when you type a website address (for ex. https://youtube.com), you also send a Rich Embed message of site automatically. How can I set this for my website?
Əkrəm Cəfər's user avatar
5 votes
3 answers
27k views

How can I embed messages using a Discord bot?

I want to code a bot that will embed a user's sent message in a specific channel. If you know anything about GTA RP servers, it's like a Twitter or Instagram bot. Here's an example: I think it's ...
Eva Hatz's user avatar
4 votes
4 answers
40k views

Discord.js - how do I edit message.embed() statements?

I am making a ping command - It is very simple to code, but I haven't got the slightest idea how to edit the embed I'm using. Here is my code - I'm using a command handler explaining the exports.run ...
Joe Moore's user avatar
  • 1,961
4 votes
1 answer
4k views

Use local file as set_thumbnail on embed in Discord.py

I want to post an embed with a thumbnail on it, with a local file on my PC. Whenever I try to run this code, the image is sent outside the embed. embedVar = discord.Embed(title="title", ...
Loboh67's user avatar
  • 53
4 votes
2 answers
4k views

Multiple lines in one value of an embed (discord.js)

I am trying to create for my needs an embed with my discord.js bot. Unfortuanlty I can't figure out how to do multiple lines in one value field. I tried with the new line character \n, but this was ...
pragmatrick's user avatar
3 votes
2 answers
5k views

Discordjs how i can send a embed message with multi link

I want to make the embed message like the regular music bot like this embed message with the link can click I want my content is the Description will show and the highlight is a link attach to it ...
Thiện's user avatar
  • 33
3 votes
3 answers
6k views

Discord js v13 channel filter not working

I'm currently trying to get the total amount of text channels and voice channels to display in my embed, when I try to filter them as I did in discord.js v12 it gives me an output of 0 but if I use no ...
Tommie's user avatar
  • 51
2 votes
5 answers
13k views

Discord.py: Using Variable As Discord Embed color

so I'm trying to make a command for my discord bot that is an embed builder. I want the user of the command to be able to input a hex value for the color of the embed. Here is what I've tried: value = ...
Dom's user avatar
  • 138
2 votes
2 answers
22k views

Little image in embed titles, Discord.js

I've been trying to display little images in my embeds titles. But I can't make it work, the whole URL is displayed. Code I tried to use: var embed = new Discord.RichEmbed() .setTitle(...
Rodrigo Soriano's user avatar
2 votes
2 answers
60 views

How can I also include normal content in an embedded message?

How do I also include normal content in an embedded message, just like the following image? For instance, this is a normal embedded message. embed = discord.Embed(title="example", ...
Bella's user avatar
  • 112
2 votes
1 answer
956 views

How to get my discord bot to respond to a keyword in the field embed of another message

So I am new to writing anything really, but I have been trying to operate a bot that pings a certain role when there is a raid spawned by another bot. I was able to have the process work for detecting ...
Big G's user avatar
  • 33
2 votes
2 answers
1k views

How can I make a bot that basically makes an embed of a linked site?

I've made a couple discord bots but I'm still very much a novice and I was wondering how I would be able to make a bot that embeds any website (kind of like how YouTube has its video embeds but with ...
Aircraft Overviewer's user avatar
2 votes
2 answers
2k views

Is there a way of making discord embeds better?

I'm developing my own discord bot, my issues are the embeds, are there some trick or modules in node.js that can help me beautify those? The only thing I had to try were the default embeds, which to ...
dali ajili's user avatar
2 votes
1 answer
2k views

Discord Bot - Random Command + Embed

Heyo! So, I made a discord bot with a command that randomly picks an anime out of a list of variables. But since I am new I kind of no idea how to Combine that with an embed, meaning the Chose item ...
Queen 's user avatar
  • 31
1 vote
3 answers
16k views

How do I put a member's image and nick on embed? (w/ discord.py)

I want to put the avatar and nick of the person who ran a command in the embed, something like this: requested by: (avatar) (nick) but I do not know how to start....
user avatar
1 vote
4 answers
19k views

How to use Embedding with C#? Discord BOT

I am looking to embed the following: Using the Discord API. I have looked and the only resources I can find are for Python, Java, Ruby, etc. But when using: var embed = new Message.Embed( { ...
Zack Arnett's user avatar
1 vote
1 answer
497 views

Embed fields URL discord js

How to put url from field to config.json. But only the url, not the text. From this .addField("**hi**", `[**Hello**](https:iegbshd)`) to this const { hello } = require('../config.json') ....
Nevyllo Kalangi's user avatar
1 vote
3 answers
11k views

Discord Node.js | Adding time onto a timestamp in an embed (v12)

I had a question, so I know to add a timestamp to a New Discord.MessageEmbed() you would use .setTimestamp(), however, I was wondering how I would go about adding x amount of time to that timestamp, i....
Muel's user avatar
  • 13
1 vote
2 answers
3k views

Edit part of a Message Embed (Discord.JS)

I have a channel that contains 10 embedded messages (1 embed per message). Each embed is a leaderboard for people's best lap times, by Track. The layout of each embed is const trackName = new ...
eX C0n's user avatar
  • 55
1 vote
3 answers
2k views

How do you send more than one embed per Interaction in Discord.py?

I want to make a Discord interaction that sends a picture for as often as you say in 'howmany', but with my current code it send 1 embed with a picture and the rest without one. How to fix this? @tree....
lorenzfohl's user avatar
1 vote
1 answer
1k views

Discord Link Embed with GitHub Pages

I'm trying to insert embed in my website hosted on GitHub Pages, but idk how I put it to show an embed when the website link is sent to a Discord channel, is it possible, if yes, how I can do it? ...
Junior Plays's user avatar
1 vote
1 answer
4k views

discord bot`s embed size

how can I change the embed size? I found the width and height parameters in thumbnail, but I didn't understand if this is what I need.enter image description here
Corrygan's user avatar
1 vote
1 answer
4k views

How to use custom emojis in discord.py embeds like this image: [duplicate]

I want to use a custom emoji... I am developing a discord bot and I would like to import a custom emoji (imported one) in my discord.Embed() but can not figure out how... How did this bot do it? ...
Hyperba's user avatar
  • 109
1 vote
2 answers
2k views

How to edit embed field value in Discord.js V13

So I am trying to edit one field in an embed. The fetched embed looks like this: MessageEmbed { type: 'rich', title: null, description: null, url: null, color: 5763719, timestamp: null, ...
Nigel Christiaans's user avatar
1 vote
1 answer
2k views

DiscordJS Send Embed in DM

I am working on a command to DM specific users an embed that is a help menu in my project. I successfully sent normal messages but I cannot get how to send embed in DM!, I read that it needed another ...
Ecstasyyy.'s user avatar
1 vote
1 answer
1k views

Markdown in embeds discord.js v12

I wanna bold some text in my embed. I searched in google for discord's markdown and tried using ** , but it didn't work. Here is a hastebin with my embed code: https://hastebin.com/gidusegutu.js . In ...
FroZen Mitko's user avatar
1 vote
1 answer
802 views

discord bot set embed message color

So I made this code for sending embed messages, if you write 000000 it will make the embed black, but if you write ff0000 for red color, it won't work, you have to write 0xff0000 for it to work, is ...
PeterProfits's user avatar
1 vote
1 answer
57 views

Cannot get Discord.js to embed THEN delete

EDIT: Trying to make it more clear. I want the embed listed below in the part where it says EMBED GOES HERE. Unsure if i can even do that. My structure is calling externally for files named in ...
Brian Chambers's user avatar
1 vote
2 answers
16k views

Discord Bot - Setting up an embed table/list with contents split into sections

I'm still learning Javascript and such, getting into discord.js so I'm pretty sure the code I'm inputting is absolutely wrong and definitely in need of work. Essentially what I'm looking to do is ...
Seth Walker's user avatar
1 vote
1 answer
679 views

Using a Discord bot, how do I get a string of an embed message from another bot

I am creating a Discord bot that needs to check all messages to see if a certain string is in an embed message created by any other Discord bot. I know I can use message.content to get a string of the ...
Brandalf's user avatar
  • 497
1 vote
1 answer
4k views

JS discord bot is getting error: Cannot send an empty message

I'm making a discord bot, but I'm getting the error: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a ...
Eugenio's user avatar
  • 13
1 vote
1 answer
8k views

Image not appearing from embedded URL from Discord.js Bot

The problem that I am having right now is that the image is not showing up from the URL that I have embedded. Now usually for Discord, when you send an image link it appears like this: What usually ...
Noobly387's user avatar
1 vote
2 answers
2k views

Discord isn't displaying my website's embed

I've been creating my website for over 18 months now, but suddenly around 5 or 6 months ago Discord decided to just stop displaying my website's embeds. I tried looking up every possible solution, but ...
buddingromance's user avatar
1 vote
0 answers
238 views

Custom Emoji in discord embed

I have a discord bot in JAVA, where embeds and custom emojis from another server are often used. When the embed pops up for the first time, all custom emojis are visible, but as soon as I "update&...
P0koy's user avatar
  • 11
1 vote
1 answer
933 views

Discord py interactive multi-page reaction embed

The following is a discord.py cog for a multi-page embed you can interact with using emoji reactions. IMPORTS: import discord from discord.ext import commands import random import asyncio from ...
GremGrem's user avatar
1 vote
1 answer
148 views

Discord.py: Have one check have two different error outputs

So, I have gone through and added different functions to my discord bot. I am working on making it to where a function if used incorrectly can have two different error outputs depending on the users ...
CRM000's user avatar
  • 35
1 vote
1 answer
782 views

Discord - Webhook using JSON 400 bad request "embeds" "0"

I've trying to learn JSON along with using web hooks. I'm trying to use postman to test my code but I'm getting an error. Anyone have any ideas? POST /api/webhooks/XXXXXXXXXXXXXXX HTTP/1.1 Host: ...
NonCoder298's user avatar
1 vote
0 answers
139 views

Server info embeds doesn't show on discord server, only says interaction failed and no error in terminal, how to fix?

I was trying to make an embed info command with "info user" and "info server" subcommand. When I try to show the owner's user tag in the embeds it shows undefined so I was told to ...
Charlotte Rong's user avatar
1 vote
1 answer
94 views

Making a picture show inside of embed in discord with python

I've tried many things but keep getting the same outcome. So I wondered if anyone knows what's causing the problem? Everytime I type my command it shows the picture first and then the embed like this. ...
PULUTUR's user avatar
  • 15
1 vote
3 answers
237 views

Throwing an error when trying to send a embed

I'm trying to create an embed using discord.js v12 and it keeps showing this error DiscordAPIError: Cannot send an empty message Heres my code: const infoembed = new MessageEmbed() ...
DrMeepso's user avatar
1 vote
0 answers
4k views

Problem when embedding images on Discord Webhook (Image hosted on a Wordpress website)

I'm trying to send embedded information to my Discord guild by using Webhooks, but I can't seem to embed successfully the image I'm hosting on my website, although an image hosted in imgur works as ...
Gabcvit's user avatar
  • 1,478
1 vote
1 answer
288 views

How to get guild info of all the members of my server

I want to get guild information of all the members of my server, and then show top 10 members of guild member who have the most coins @client.event async def on_guild_join(guild): with open(&...
Hiresh Verma's user avatar
1 vote
2 answers
526 views

Having trouble setting up a reaction role embed for discord.js

I'm a newbie at coding, so please do guide me through this process :) ive just started coding a discord bot using discord.js, and im currently setting up a reaction role embed. The bot sends the embed ...
user avatar
1 vote
1 answer
283 views

How can I make a variable list of embeds for a discord bot?

It sounds like a basic question but I'm still just a newbie and I'm just trying to make a fun discord bot for my friends and I've been stuck trying to make this function where I have a list of embeds ...
OliveOli246's user avatar
1 vote
3 answers
972 views

Discord.js smart help embed

I am trying to make a help embed that creates a new field for every file in my command files folder. It keeps showing an error, and I don't know how to fix it. Here is my code: const Discord = require(...
mrkboy8's user avatar
  • 11
1 vote
1 answer
699 views

Discord.js bot not loading image urls in MessageEmbeds(), was previously

So one of my bots has a majority of it's commands contain imagery via the Discord.MessageEmbed() function, which has worked since I first tried it. Now, however, out of nowhere, the images no longer ...
Aiyroe's user avatar
  • 11
1 vote
0 answers
506 views

icon_url is not a valid syntax for discord bot

I was trying to set the icon footer for an embedded message for bot I'm making by using icon_url = "" but it seems that it's not a valid syntax embed = discord.Embed( title = f"{bot....
Puzzeled Divide's user avatar
1 vote
1 answer
3k views

Discord py forward messages(with embeds) sent on one channel to another and how to determine number of members in a server?

I want to forward messages sent on a particular channel to another channel based on number of reactions on 🔻 emoji reaction. The message has a few embeds and is being sent by the YAGPDB.xyz bot from ...
Nick Rogers's user avatar
1 vote
1 answer
884 views

How to save richEmbed to file using FS in discord.js?

I created a unpurge feature on my discord bot, where it recovers the last bulk purged messages by just sending them to the general channel. In order to do this, I need the bot to save the richEmbed (...
SavvyDev06's user avatar