Ask coding questions
whenever I use any method to remove the hastag from message.author, whether it be split, len, for loop, find, rfind, or splicing, i get this error:
can someone help me?
you have to do str(message.author) on line 23. Also I think you have to make it a list using the list() function.
To remove a "#" from the front of a string, you can do