I am attempting to write a bot to preform automated actions on Discord. I have written the following code to do so:
import clipboard
import time
numnum = input(" What do you want the delay from each next number? (in seconds) \n\t Please type it here: ")
startingnum = input(" What do you want the starting number to be? \n\t Please type it here: ")
for i in range startingnum , 99999999999999):
print('Your clip Board is set to ' + i )
clipboard.copy(i)
time.sleep(numnum)
print('terminal will close in 5 seconds')
time.sleep(5)
However, this code generates the following error:
TypeError: can only concatenate str (not "int") to str
I am not sure why this error occurs, could someone give me insight into why this error happens in my code?