tinya/Tiny-Meowth

Some gym entries not returning data

Closed this issue · 1 comments

tinya commented

On raid channel creation with a gym name that is in the spreadsheet, bot is not responding with the corresponding location map link.

Known failing test:
!r 5 Reubin A. McNeil Memorial

To reproduce:
On mobile (using Android Gsheets app), copy cell with name of gym and paste into Android Discord app when reporting raid via !r

tinya commented

Issue as seen from logs:

Getting gsheet credentials
opening gsheet
Reubin A location not found in sheet.
in on_message
in on_message

Line does not split correctly due to the . in the reported raid name. Issue is on this line:

raid_name = message.content.split(".")[0].split(":")[-1].lstrip() # magic that parses the reported raid name