Giter Site home page Giter Site logo

dashwav / discordoragi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jwolff52/discordoragi

8.0 8.0 3.0 3.22 MB

Discordoragi is a Discord bot which creates anime and manga links from MAL, Anilist, MangaUpdates and Anime-Planet when requested based on Roboragi.

License: GNU General Public License v2.0

Python 100.00%

discordoragi's People

Contributors

dashwav avatar jwolff52 avatar mnmt avatar nihilate avatar orende avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

discordoragi's Issues

] [ will return Tomodachi no Imouto ga Ore ni dake Uzai

A set of brackets with a space in them (] [ ) will return the LN Tomodachi no Imouto ga Ore ni dake Uzai.

This can be annoying, because sets of words in brackets [like] [this] causes the bot to respond even if the user dosn't want it to.

Screenshot:

image

Architecture proposal

Split argument acceptance + processing away from the search in order to enable multiple frontends. End goal would be to potentially rebase actual roboragi and then the telegram bot on this one.

License considerations

Nihilate changed the license for Roboragi to AGPLv3. Is this something that Discordoragi also wants to do?

Bot reacts to multiline brace pairs and empty brace pairs

When talking with someone about CSS issues, I posted a block of code that had braces in it, and discordoragi reacted with an X as if I'd tried to link an invalid anime. The same thing happened when I posted a message that just contained {}. These are cases where it should be clear the user's intent is not to link an anime, and I don't think the bot should react in these situations.

It would also be cool if the bot ignored all input inside inline or block code.

Exact message texts:

For the discord button, you'll want this:
```css
a[href="https://discord.gg/2Kk7rMa"] {
    display: block;
    text-align: center;
}
```
(you can then remove the `text-align` rule from the `::after` element)
also does discordoragi react to anything with {} even if it's multiline because that seems dumb
ooh I guess it just reacts on {}

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.