NabBot icon indicating copy to clipboard operation
NabBot copied to clipboard

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

Open bashcode opened this issue 5 years ago • 3 comments

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.

bashcode avatar Nov 27 '18 06:11 bashcode

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" } }

Tschis avatar Nov 27 '18 07:11 Tschis

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.

xonvanetta avatar Apr 20 '19 08:04 xonvanetta

@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.

Galarzaa90 avatar Apr 20 '19 18:04 Galarzaa90