Irc bot with python3

Anyone help with this pastebin https://pastebin.com/iSZuN9pQ

getting error

File “./irc_bot.py”, line 21, in
text=irc.get_response()
File “/var/www/radio/Own-Bot/irc_class.py”, line 37, in get_response
self.irc.send(bytes('PONG ’ + resp.split().decode(“UTF-8”) [1] + ‘\r\n’, “UTF-8”))
AttributeError: ‘list’ object has no attribute ‘decode’
and dont know how to fix it.

I didn’t read the pastebin, but judging from the error message you could try swapping the decode and split calls. Decode first, then split.

With that said, I don’t think it’s a good idea to run a random script downloaded from the Internet if you can’t read it, and don’t know who to reach when there’s a problem. Sounds like a perfect recipe to destroy your computer.