ed-george / tcgenius Goto Github PK
View Code? Open in Web Editor NEWTCGenius is a Pokémon Trading Card Discord bot written in Kotlin
License: Apache License 2.0
TCGenius is a Pokémon Trading Card Discord bot written in Kotlin
License: Apache License 2.0
Please describe the feature/solution you would like to see
Searching for a card should return a list of relevant cards
Describe how the solution should work
!card CARDNAME
should return a list of relevant cards, their sets, number and ids.
Describe any alternatives you've considered
N/A
Additional context
If the list is too long, it may be worth PM-ing to avoid spam
Describe the bug
Cards with multiple weaknesses are incorrectly showing multiple energy emotes, when they should display a single emote only.
To Reproduce
View any LEGEND card with multiple weakness, e.g. Kyogre & Groudon LEGEND !card [hgss3-88]
Expected behavior
The energy emote should only display once per weakness
Log Output:
Any log output produced that helps identify the problem.
Screenshots
Additional context
N/A
Describe the bug
Requesting certain cards, e.g. Base Set Charizard, causes an exception to be thrown by the bot
To Reproduce
Run the command !card [base1-4]
or !card [base4-4]
Expected behavior
The requested card should be outputted correctly
Log Output:
java.lang.IllegalArgumentException: Parameter specified as non-null is null: method io.pokemontcg.model.Ability.<init>, parameter type
...
at uk.breedrapps.command.SearchCardCommand.searchForTerm(SearchCardCommand.kt:72)
at uk.breedrapps.command.base.BaseCommand.execute(BaseCommand.kt:31)
Screenshots
N/A
Additional context
N/A
Please describe the feature/solution you would like to see
An Ability / Poke Power / Poke Body name should be displayed with the accompanying text
Describe how the solution should work
Example: For Shaymin EX's ability, the title should read "Ability - Set Up"
Describe any alternatives you've considered
N/A
Additional context
N/A
Please describe the feature/solution you would like to see
When a user enters an invalid command or a command that returns no results, no acknowledgement of this is shown to the user
Describe how the solution should work
On entering a command that is invalid or returns no results, the bot should reply to the user with a message explaining the error
Describe any alternatives you've considered
Replying the user through a 'reaction' might save on spam
Additional context
N/A
Please describe the feature/solution to a problem you would like to see
References to energy within a Pokemon's text should use the energy emote
Describe a solution you'd like
When displaying a card with text that contains a reference to energy symbols, e.g. Shaymin [pl1-15]
, either in the attack, poke power, poke body, ability or other; The relevant energy emote should be displayed in place of the text
Describe any alternatives you've considered
N/A
Additional context
N/A
Describe the bug
Cards that have only a single field for an attribute such as 'Text', 'Attack' and 'Weakness', currently display a '1' after the attribute name. e.g. 'Attack 1'
To Reproduce
Lopunny (Flashfire 85) displays this behaviour !card [xy2-85]
Expected behavior
If an attribute has multiple, use numbered convention "Attack 1, Attack 2..."; Remove otherwise.
Log Output:
N/A
Additional context
N/A
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.