Emote Steal Command - Help #1502
-
Beta Was this translation helpful? Give feedback.
Answered by
Giggitybyte
Mar 18, 2023
Replies: 1 comment 1 reply
-
You cannot use You should instead parse the content of the message to get the ID of each emote to directly download each image (e.g. Naam has a similar feature in their ModCore project for the message context menu, if you'd like to use that as an example: https://github.com/Naamloos/ModCore/blob/master/ModCore/ContextMenu/MessageContextMenu.cs |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
OoLunar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You cannot use
DiscordGuildEmoji
for emotes which your bot cannot access.You should instead parse the content of the message to get the ID of each emote to directly download each image (e.g.
https://cdn.discordapp.com/emojis/786700993424392232.png
-> ) then upload that image as a new emote on the current guild.Naam has a similar feature in their ModCore project for the message context menu, if you'd like to use that as an example: https://github.com/Naamloos/ModCore/blob/master/ModCore/ContextMenu/MessageContextMenu.cs