alexsmbaratti/RosalinaBot

Bot crashes when mentioning someone with switch code command

Opened this issue · 0 comments

Describe the bug
A clear and concise description of what the bug is.

bot crashes when trying to find someone else's (not your own) switch friend code

To Reproduce
Steps to reproduce the behavior:
anywhere where this bot can see commands, send a message containing "r!sc" and @mention yourself

r!sc @h3oCharles{Enter}{Enter}

Expected behavior
A clear and concise description of what you expected to happen.

the bot would say the switch code of the person mentioned

Screenshots
If applicable, add screenshots to help explain your problem.

typing "r!sc" without anything else does what it's expected

image

however, sending the same command with mentioning myself doesn't output anything

image

after some time passes, the bot becomes offline

image
image

Additional context
Add any other context about the problem here.