Giter Club home page Giter Club logo

rinon's People

Contributors

danktuary avatar spaceeec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rinon's Issues

Add a rename command

Once the DB rewrite gets pushed, add a command that allows users to rename their currently pending requests, because of typos and casing and whatnot.

Fix blob rejections

Dunno how I didn't notice this earlier, but blob requests can still pass the filter if they're formatted like BlobSomething or bLOBsomething and stuff like that. Just add the i flag to the regex, I suppose.

Show emoji that are not used

I see it all too often - An emote that gets used gets removed and replaced.

Keep track of the amount of times emotes are used. Maybe even give an option to auto replace the least used emote with an emote of choice.

Better error messages

Things like "There was an error trying to execute that command" and "There was an error trying to create that poll" are pretty vague and not helpful. Would be nice if it displayed the error message under it.

If a request name starts and ends with ":", strip it out

Tiny thing, but sometimes requests get made as >request :designatedName: :actualEmoji:, because users sometimes forget to remove the colons around it (myself included), so it'd be a nice addition if the RequestTransformer class accounted for this. This would affect all transformations except the .fromEmoji() method.

Make sure to add a test for this as well.

Make `add` command work from any server

Might be a good idea to have the add command work from anywhere. Just have the bot fall back to whatever server has free space or make the server settable by the owner.

As an addition, upon adding a new emoji you could tell the user in which server it was posted if it's not the same one they used the command in.

Feature idea: Dupe checks

Basic idea:

Implement a check on submission which searches the client's emojis collection for an emote with the same name as the one being requested. If one exist and belongs to an emoji guild, post the emoji + the guild name and ask the user to compare, hinting that it might be a duplicate upload.

As it checks the client's emojis collection, this would act as a "global" dupe check for all emoji servers, not just the one it's being requested on.

Add a preview command

Currently not entirely sure how to implement this, but a command to preview how an emoji would look would be pretty nice. For gifs, either try to find a gif resizer API or send two messages with a temporary emoji.

In addition, it'd be nice to let them know about files larger than the max size limit. Could still create the preview itself, but would add a message above the previews.

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.