Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "/Users/laurenth/Desktop/PYTHON/pybot.py", line 35, in <module>
  3. sendmsg(channel,"sup") # Same, but now sending a message using its function
  4. File "/Users/laurenth/Desktop/PYTHON/pybot.py", line 18, in sendmsg
  5. ircsock.send(str.encode("PRIVMSG " + "#" + chan +" :" + msg + os.linesep))
  6. NameError: global name 'os' is not defined
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement