Coder Social home page Coder Social logo

Comments (2)

brianchuchua avatar brianchuchua commented on July 26, 2024

This is an interesting feature request!

I don't think I should do this new behavior by default since there are already a few people on the fence about the fronts and backs of cards showing by default. There's sensitivity to too many images coming up already, and there's no way for me to do them side by side, so they would be each on their own line.

However, I could so something like !a jaime -all, where the -all would tell the system:

"Just look a Commander card that has 'jaime' in its name and then list all of its corresponding tactics cards."

I could run into corner cases where the search query isn't unambiguous enough and there are duplicates, but I can handle that with messaging the user.

The biggest "challenge" for this is a data entry one. I need to teach the bot which commander cards relate to which tactics cards. I could go loosely by the search term but this can run into ambiguities or corner cases so it's best to make that relationship explicit.

I'll do this one when I have some time. :)

from asoiaf-tmg-discord-bot.

brianchuchua avatar brianchuchua commented on July 26, 2024

I went ahead and implemented this.

I tested it a bit and I believe I handle the Brynden situation correctly (there are two commanders, so the user has to do an unambiguous search to have the feature work.)

Give it a whirl, @nrWillbanks . :)

!a jaime -all

from asoiaf-tmg-discord-bot.

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.