name = ['vasya', 'nikita', 'amogus', 'shutka']
salary = [str(49900), str(50001), str(32222), str(9888)]
NameSalary = dict(zip(name, salary))
with open('salary.txt', 'w', encoding='utf-8') as file:
file.write(str(NameSalary))
# ./salary.txt
# {'vasya': '49900', 'nikita': '50001', 'amogus': '32222', 'shutka': '9888'}
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)