import random
import time
import requests
words_list = random.choice(open('words.txt', "r").readlines())
payload = {'content': words_list}
url = 'https://discord.com/api/v9/channels/900353801591066625/messages'
header = {'authorization': token}
for i in range(5):
time.sleep(5)
r = requests.post(url, json=payload, headers=header)
url = 'https://discord.com/api/v9/channels/900353801591066625/messages'
header = {'authorization': token}
words_list = open('words.txt', "r").readlines()
for i in range(5):
payload = {'content': random.choice(words_list)}
time.sleep(5)
r = requests.post(url, json=payload, headers=header)