import requests
payload = {'content': 'hello world'}
url = 'https://discord.com/api/v9/channels/900353801591066925/messages'
header = {'authorization': 'token'}
r = requests.post(url, json=payload, headers=header)
import requests
payload = {'content': 'hello world'}
url = 'https://discord.com/api/v9/channels/900353801591066925/messages'
header = {'authorization': 'token'}
for i in range(5):
r = requests.post(url, json=payload, headers=header)
print(t.text)