Giter VIP home page Giter VIP logo

nitro-spoof's Introduction


:luimu64

nitro-spoof's People

Contributors

delphox avatar luimu64 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

nitro-spoof's Issues

Implement escaping (for servers with NQN bot)

Whenever you have the time, can you add the possibility of escaping emojis with , so we can take advantage of the usability patcher for servers that have NQN. It'd work like this:

• when an emoji is escaped like this \<:aaaa:123>, add a condition that bypasses the "replace with emoji url" function (and the "put at the end one with linebreak" one as well, I guess that already happens by design), and also removes the singular \ when sendMessage is caught. It'd post the raw emoji as <:aaaa:123>. The <:aaaa:123> will fail to render due to lack of Nitro and will be replaced accordingly by NQN.

• when an emoji is escaped with \, still remove just one \ as per above, so the message gets sent as \<:aaaa:123> which would be a regular escaped emoji, which will be ignored by NQN and will be left unrendered.

Here's a demo of how it'd work in practice, done with a bit of video editing.

ds.mp4

Spoofing logic fails at certain conditions in dm

Currently plugin doesn't check whether you are in direct messages but instead just checks last server you have been in resulting it to "think" that emoji is usable even tho it isn't.

Steps to reproduce:

  1. go to any server
  2. go to dm and use any non-animated emoji from that server

Support Expired Boost emojis

Not sure if there's a straightforward way to do this (since there isn't a normal circumstance an use can use expired emojis), but might be worth looking into.

Right now they show ungreyed on the picker but can't be picked as they still have the emojiItemDisabled-1FvFuF property. They don't show up on search results either. When calling them by their raw code, they trigger the emoji-to-url conversion as normal except when it's a non-animated emoji being used in its home server (cuz they're assumed to be usable without nitro).

If you need a reference, this userscript (which works similar to lith's now-broken plugin) added support to them on this commit, although it still doesn't get around them not showing on search results (which links to the first paragraph, maybe this isn't possible due to how discord works).

If you need a way to test expired boost emojis, you can create them by having a server with 48-ish emojis, then upload multiple emojis to go over the limit all at once. It's a race condition so it may take multiple tries and the faster is your internet upload and the smaller the emojis, the better.

broken.

using goosemod and it's broken.
autocomplete doesen't work and emotes don't send

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.