Irc bot with python3

Anyone help with this pastebin

getting error

File “./”, line 21, in
File “/var/www/radio/Own-Bot/”, 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.