Releases: Edern76/NauraaBot
Releases · Edern76/NauraaBot
v0.7.3
v0.7.2
- Fixed description display in the case where there were more than one keyword in a description (example: Mind Apotheosis)
- Fixed a rare error when trying to get in a non English language an unique that was previously requested in English but not yet added to the database
v0.7.1
- Further effect display improvements. Keywords like
[Seasoned]and[[Anchored]]will now instead display as respectively Seasoned and Anchored (this is supposed to be underlined, doesn't display properly on GitHub) like they do on the actual cards. - Uniques retrieval is no longer automatic to lessen the load on Altered servers. This mean that public uniques will no longer be automatically pulled into the bot database. Instead, now whenever you ask for a unique that does not exist in the bot's database (either via its ID or with the combination of name/set ID/unique number), it will try to get it from Altered's servers, which means response time may be slower in that case. Furthermore, this might fail if the unique is non public at the time you perform the request. However, if it is found the unique will then be cached into the bot's database, so any further request for that unique will have normal response time as they won't require to make another request to Altered's servers.
v0.7.0
- Improved display of card descriptions, now triggers and biomes mentioned in card effects will be replaced by the corresponding emote. Changed parts of an effect from a rare to common will also be displayed in italic.
- You can now also get a specific unique (assuming it has been seen by the bot) by specifying the name of the card (partially or fully), then the set and number of the unique as the first set of options. For instance,
{{Daughter of Yggdrasil|COREKS, 5111}}or{{Daughter|COREKS, 5111}}will get the 5111th Daughter of Yggdrasil unique from the Kickstarter set, which is equivalent to doing{{ALT_COREKS_B_MU_12_U_5111}} - Improvements to unique ELO retrieval from UniquesRanking
- Added MIT License to the source code
v0.6.0
Features
- You can search for a specific unique by specifying its ID like this :
{{ALT_COREKS_B_YZ_11_U_4053}}. When searching like this, the only parameter you may specify is the language, like this{{ALT_COREKS_B_YZ_11_U_4053|FR}}. Attempting to specify a rarity or a faction will cause an error. You can still use the!or@prefixes however. - If an unique has a ranking on https://uniquesranking.onrender.com/, its ranking and the average ranking in this specific faction/base should be displayed in the infos when the unique is retrieved using either its ID or the random unique features.
- Various small performance improvements.
v0.5.0
Features
- You can now use
Uas a rarity search parameter to get a random unique of the searched card. For instanceShroom|Uwill get you a random unique Muna Sneezer Shroom. This works with all other search paremeters, soShroom|U,OOFwill get you a random unique Yzmir Shroom,rand()|Uwill get you a random unique, and so on. - Getting a specific unique isn't supported yet, I need to find a way to do this that is intuitive enough.
v0.4.0
Features
- You can now prefix
@before the card name to get the card's name in all supported languages. For example{{@Sneezer Shroom}}will get you all the names of the shroomy boy - Giving incorrect faction/rarity/language in query parameters will now display an error message detailing which parts of the query are incorrect along with the list of possible values for all of them, instead of a generic "card not found" message.
- Searching for cards with long multiple words card names with partial terms should now be much better. For instance, searching for
The SpindleorMuna Bastionwill now correctly returnThe Spindle, Muna Bastion. - Searching for cards with special characters such as dashes or exclamation marks should also now be much better. For example,
Yong Sunow correctly returnsYong-Su, Verdant Weaver,Chargez !now correctly returns this card in the French language instead of the englishCharge.
Known issues
- Searching for gibberish name can return a seemingly random card instead of displaying a "card not found" message. Fixing this is not a priority as long as it does not affect actual search queries.
v0.3.0
Features
- Cards with discard effects such as
Muna Druidwill now correctly display these - You can now get only the card image in full size by prefexing
!before the card name. For instance,{{!Teija & Nauraa|P}} - You can now get an OOF card without specifying the rarity. So
{{Ratatoskr|OOF}}should now work. The old way should still work. - You can now replace the name of the card by
rand()to get a random card. This can be combined with any search modifiers like any other query. For instance,{{!rand()|C,MU|FR}}will return the full card image of a random French Muna common. - You can now react to one of the bot's message with the wastebin (🗑️) emoji and the bot will delete said message. This only works if you were the one requesting that message (can't delete other people's request), and if you don't delete your message before the bot deletes its own one (otherwise it cannot check you were the one requesting its message)
- You no longer have to spell a card name exactly to get results. Things like
{{Karen's Wrath}}or{{Ananas & Senka}}should now work.- For hero names, you can specify either the full card name (
Teija & Nauraa), only the hero's name (Teija) or only the companion name (Nauraa) and it should work in all three cases. Please note that if either the hero or the companion have a card/token of their own, said card/token will be the one returned (so{{Booda}}will return the Booda token, not the Kojo & Booda) hero. Also, you are allowed to make typos in hero/companion names, so{{Ananas}}will work for instance. - The longer the card name, the more typos you are allowed to make. For instance, you will not be allowed many typos on a card such as
Atlasbut something likeTransporteur Ordiswill be more lenient. To be more specific, you are allowed a total of 5 mistakes per card name (substituting a letter counts as 2), and the mistakes must not be more than 40% of the card's name.
- For hero names, you can specify either the full card name (
v0.2.0
New features
- You can now specify OOF as the faction name to automatically get a card's out of faction variant (ex :
{{Ratatoskr|R, OOF}}). The old way should still work. - You can now search for promo cards by specifying P as the rarity (ex :
{{Teija & Nauraa|P}}) - The bot response's border will now change based on rarity (grey for common, blue for rare)
- You can now search in multiple languages ! Support is there for French and normally Italian. German and Spanish should have partial support, but special characters might break. Don't hesitate to file an issue with the affected card's name on GitHub if you encounter this.
- Searching for a card that has a unique name to the language works out of the box (ex :
{{Transporteur Ordis}}) - For cards whose names are the same in multiple languages (eg: Kitsune, Parvati), you have to specify the language you want, otherwise you are not guaranteed to get the correct one. To do so, you have to do like this
{{Kitsune||FR}}or like this if you want to use other filters{{Kitsune|R,OOF|FR}}
- Searching for a card that has a unique name to the language works out of the box (ex :