Coder Social home page Coder Social logo

Comments (14)

EpicGazel avatar EpicGazel commented on June 26, 2024 6

Since An0 is Mia, I'm going to be maintaining a fork in the meantime. Not a perfect 1-to-1 so check the README.
https://github.com/EpicGazel/DiscordFreeEmojis

from discordfreeemojis.

EpicGazel avatar EpicGazel commented on June 26, 2024 2

You can also add back the "?size=64" to the end of the emojiUrl to lock its size as it is by default.

from discordfreeemojis.

Oqarshi avatar Oqarshi commented on June 26, 2024

Discord seems to no longer offer emoji.url in the emoji object, so we have to make the link ourselves now.

  • ctrl + f/find "function replaceEmoji"
  • const emojiUrl = `https://cdn.discordapp.com/emojis/${emoji.id}.${emoji.animated ? "gif" : "webp"}`;
  • parseResult.content = parseResult.content.replace(`<${emoji.animated ? "a" : ""}:${emoji.originalName || emoji.name}:${emoji.id}>`,emojiUrl);
  • Delete the original parseResult.content = ...

If you want to hide the character when embedding by using a hyperlink use the following instead: parseResult.content = parseResult.content.replace(`<${emoji.animated ? "a" : ""}:${emoji.originalName || emoji.name}:${emoji.id}>`,`[᲼](${emojiUrl})`);

This worked than you! But im not sure this plugin is maintained anymore 😞

from discordfreeemojis.

swaggyP36000 avatar swaggyP36000 commented on June 26, 2024

Discord seems to no longer offer emoji.url in the emoji object, so we have to make the link ourselves now.

  • ctrl + f/find "function replaceEmoji"
  • const emojiUrl = `https://cdn.discordapp.com/emojis/${emoji.id}.${emoji.animated ? "gif" : "webp"}`;
  • parseResult.content = parseResult.content.replace(`<${emoji.animated ? "a" : ""}:${emoji.originalName || emoji.name}:${emoji.id}>`,emojiUrl);
  • Delete the original parseResult.content = ...

If you want to hide the character when embedding by using a hyperlink use the following instead: parseResult.content = parseResult.content.replace(`<${emoji.animated ? "a" : ""}:${emoji.originalName || emoji.name}:${emoji.id}>`,`[᲼](${emojiUrl})`);

This worked than you! But im not sure this plugin is maintained anymore 😞

is there any similar that is maintained for bd?

from discordfreeemojis.

Haidex avatar Haidex commented on June 26, 2024

Discord seems to no longer offer emoji.url in the emoji object, so we have to make the link ourselves now.

  • ctrl + f/find "function replaceEmoji"
  • const emojiUrl = `https://cdn.discordapp.com/emojis/${emoji.id}.${emoji.animated ? "gif" : "webp"}`;
  • parseResult.content = parseResult.content.replace(`<${emoji.animated ? "a" : ""}:${emoji.originalName || emoji.name}:${emoji.id}>`,emojiUrl);
  • Delete the original parseResult.content = ...

If you want to hide the character when embedding by using a hyperlink use the following instead: parseResult.content = parseResult.content.replace(`<${emoji.animated ? "a" : ""}:${emoji.originalName || emoji.name}:${emoji.id}>`,`[᲼](${emojiUrl})`);

where am i supposed to input those? any screen on discord?

from discordfreeemojis.

fuwa120 avatar fuwa120 commented on June 26, 2024

Discord seems to no longer offer emoji.url in the emoji object, so we have to make the link ourselves now.

  • ctrl + f/find "function replaceEmoji"
  • const emojiUrl = `https://cdn.discordapp.com/emojis/${emoji.id}.${emoji.animated ? "gif" : "webp"}`;
  • parseResult.content = parseResult.content.replace(`<${emoji.animated ? "a" : ""}:${emoji.originalName || emoji.name}:${emoji.id}>`,emojiUrl);
  • Delete the original parseResult.content = ...

If you want to hide the character when embedding by using a hyperlink use the following instead: parseResult.content = parseResult.content.replace(`<${emoji.animated ? "a" : ""}:${emoji.originalName || emoji.name}:${emoji.id}>`,`[᲼](${emojiUrl})`);

where am i supposed to input those? any screen on discord?

Go into your BetterDiscord plugins menu and click the Edit button for DiscordFreeEmojis and then input it there, at line 146, then save it. If you get an error when trying to save, add a } beneath what you pasted and it should work.

from discordfreeemojis.

Dinoslav avatar Dinoslav commented on June 26, 2024

Since An0 is Mia, I'm going to be maintaining a fork in the meantime. Not a perfect 1-to-1 so check the README. https://github.com/EpicGazel/DiscordFreeEmojis

Please, where exactly should i put the "?size=64" in your version?

from discordfreeemojis.

IruzzArcana avatar IruzzArcana commented on June 26, 2024

Since An0 is Mia, I'm going to be maintaining a fork in the meantime. Not a perfect 1-to-1 so check the README. https://github.com/EpicGazel/DiscordFreeEmojis

Please, where exactly should i put the "?size=64" in your version?

Line 146.
const emojiUrl = `https://cdn.discordapp.com/emojis/${emoji.id}.${emoji.animated ? "gif" : "webp"}?size=64`;

from discordfreeemojis.

Dinoslav avatar Dinoslav commented on June 26, 2024

Since An0 is Mia, I'm going to be maintaining a fork in the meantime. Not a perfect 1-to-1 so check the README. https://github.com/EpicGazel/DiscordFreeEmojis

Please, where exactly should i put the "?size=64" in your version?

Line 146. const emojiUrl = `https://cdn.discordapp.com/emojis/${emoji.id}.${emoji.animated ? "gif" : "webp"}?size=64`;

Thanks!

from discordfreeemojis.

EpicGazel avatar EpicGazel commented on June 26, 2024

I tried this solution, but I cannot press enter to send the message containing emojis anymore?

A fix you can download:
https://github.com/EpicGazel/DiscordFreeEmojis/blob/master/DiscordFreeEmojis64px.plugin.js

from discordfreeemojis.

PhoebeCheng9911 avatar PhoebeCheng9911 commented on June 26, 2024

from discordfreeemojis.

DanzoGit avatar DanzoGit commented on June 26, 2024

Bro, thanks for doing this. I use this plugin all the time. 💖

from discordfreeemojis.

Outwardwet avatar Outwardwet commented on June 26, 2024

I changed the plugin to the one given here but I still can't use emojis. It puts my emoji in the message bar but when I press enter it doesn't send

from discordfreeemojis.

EpicGazel avatar EpicGazel commented on June 26, 2024

I changed the plugin to the one given here but I still can't use emojis. It puts my emoji in the message bar but when I press enter it doesn't send

Delete the old one from the plugins folder. Enable the new one in your BetterDiscord settings.

I'm going to stop checking in here. If you have issues related to the fork, post them over there.

from discordfreeemojis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.