PilotsTradeNetwork / ButtonRoleBot

A bot to provide users with roles based on interacting with buttons added to messages.
1 stars 1 forks source link

Handle invalid literal for int() with base 10 #88

Closed cimspin closed 1 year ago

cimspin commented 1 year ago

On Role ID entry, when entering e.g. a role code without stripping non-numeric characters. Catch and handle ErrType: ValueError

cimspin commented 1 year ago

It is handled, just should be a more helpful message. Line 1228 in ButtonConfig.py