So ive tried this:
with open("rawtext.txt", encoding="utf8") as f:
lines = f.readlines()
for line in lines:
bot.send_messages(line, ["REDACTED_USER"])
But the bot only sends the first line as a message (I'm using the instabot library). This is what is shown in the console log while running:
2022-09-23 16:54:00,259 - INFO - Going to send 1 messages. 100%|██████████| 1/1 [00:01<00:00, 1.52s/it] 2022-09-23 16:54:03,789 - INFO - Going to send 1 messages. 0%| | 0/1 [00:00<?, ?it/s]