Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Some guilds return "There's no guild with that name." #146

Open
bashcode opened this issue Nov 27, 2018 · 3 comments
Open

Some guilds return "There's no guild with that name." #146

bashcode opened this issue Nov 27, 2018 · 3 comments
Labels
bug Bugs directly related to NabBot
Milestone

Comments

@bashcode
Copy link

we can't add guild with space, example: new era

/watched addguild New Era

NabBotBOTToday at 1:17 AM
There's no guild with that name.

@Tschis
Copy link
Contributor

Tschis commented Nov 27, 2018

It is a problem with TibiaData: https://api.tibiadata.com/v2/guild/New%20Era.json
{ "guild": { "error": "Guild does not exist." }, "information": { "api_version": 2, "execution_time": 0.0004, "last_updated": "2018-11-27 08:24:42", "timestamp": "2018-11-27 08:25:19" } }

@Galarzaa90 Galarzaa90 added the bug Bugs directly related to NabBot label Jan 15, 2019
@Galarzaa90 Galarzaa90 added this to the Backlog milestone Jan 15, 2019
@Galarzaa90 Galarzaa90 pinned this issue Jan 23, 2019
@Galarzaa90 Galarzaa90 changed the title There's no guild with that name. Some guilds return "There's no guild with that name." Jan 23, 2019
@xonvanetta
Copy link

Just passing by, but the guild is called "New era". So with capital E its an error.
The problem lies in that the character seach is not case sensitive, but guild search is.

@Galarzaa90
Copy link
Owner

@xonvanetta NabBot first searches the guild on guildstats.eu, which has case insensitive search, obtains the correct case of the name, and then it searches TibiaData.com with the correct name.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bugs directly related to NabBot
Projects
None yet
Development

No branches or pull requests

4 participants