Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the "custom emote" field to support emotes with the [](#emote) format #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Shugabuga
Copy link
Contributor

@Shugabuga Shugabuga commented Oct 16, 2016

This PR adds experimental support for emotes from subreddits like /r/gravityfalls to be added in as a custom subreddit. It adds the following:

  • Supports subreddits in the [](#emote) format to be added as custom subreddits
    • [](#emote) emotes aren’t converted by default (to allow for people to use alttext without an emote visible)

This Pull Request has the following known bugs:

  • [](#emote) emotes don’t support global emote conversion, as it’s too buggy at the moment io include (fixing the regex has the issue of the hash/slash of the emote being visible as alt-text)
  • Doesn’t support /r/StevenUniverse’s [](#su-emote) format (because of the dash).
  • Doesn’t support /r/Frozen’s trash emote CSS (that I don’t plan to support because it’s so strange)

The following is untested at the moment:

  • How this functions if an emote formatted as [](#emote) is added in as a “core” emote (bundled with BPM).

I will try to fix most of the bugs over time, how long that will take. Feel free to wait to merge until this fork is mature enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant