1
votes

so I'm trying to make this bot that each time a event happens on rblxwild I get a notification the thing is when i run the python it comes up with a error saying

Ignoring exception in on_ready
Traceback (most recent call last):
File "/home/runner/rbxwild/venv/lib/python3.8/site- 
packages/discord/client.py", line 343, in _run_event
await coro(*args, **kwargs)
File "main.py", line 85, in on_ready
await async_main("wss://rblxwild.com/socket.io/? 
EIO=4&transport=websocket")
File "main.py", line 76, in async_main
await handle_msg(websocket)
File "main.py", line 20, in handle_msg
msg = utils.strip_msg(message)
AttributeError: module 'utils' has no attribute 'strip_msg'

i have no idea what it means but if any of yous know that would be wonderful here is the code https://github.com/Odsku/betterNotifier im new to this website sorry if i left any thing out please let me know what's the problem and how to fix it thank you

Welcome to StackOverflow. Please edit your question to include a minimal reproducible example in the question itself, and how are you running the bot? Do you have the necessary intents enabled? Also, see How to Ask and how to edit. - The Amateur Coder
What is the error you are facing? Where exactly is the problem occurring? What libraries are you using? We cannot deduce the errors you are facing. - Sandy
@Sandy i just edited the code making it a bit easier to understand what my problem is - capri idk
@capriidk, you probably can use msg = message.strip() instead. - The Amateur Coder
@TheAmateurCoder im sorry but i have no idea how to code - capri idk