Issue with splitting a message
My code says there's a Value error with my integer.
Ignoring exception in on_message
Traceback (most recent call last):
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "main.py", line 72, in on_message
index = int(msg.split("~delete inspiration~ ",1))
ValueError: invalid literal for int() with base 10: 'love you'