Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/Users/laurenth/Desktop/PYTHON/pybot.py", line 35, in <module>
- sendmsg(channel,"sup") # Same, but now sending a message using its function
- File "/Users/laurenth/Desktop/PYTHON/pybot.py", line 18, in sendmsg
- ircsock.send(str.encode("PRIVMSG " + "#" + chan +" :" + msg + os.linesep))
- NameError: global name 'os' is not defined
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement