Open draco2007 opened 6 years ago
If I send a message which only includes a number, for example "Notify(Game.time)" the python script crashes here:
https://github.com/screepers/screeps_notify/blob/master/screeps_notify/services/messengers/slack.py#L20
because the function requires a string, but recieves a number. A possible fix would be "str(notification)", which works for strings and numbers. I don't know if the other modules are also affected.
I do accept pull requests :-)
Ok. If I find some time this week I will have a look on it.
I have some more ideas for some features or improvements. Maybe I give it a swing on the weekend =)
If I send a message which only includes a number, for example "Notify(Game.time)" the python script crashes here:
https://github.com/screepers/screeps_notify/blob/master/screeps_notify/services/messengers/slack.py#L20
because the function requires a string, but recieves a number. A possible fix would be "str(notification)", which works for strings and numbers. I don't know if the other modules are also affected.