i use VSC so try it if not work for you i havent try in pycharm or smth
you must have REQUESTS installed how?! pip install requests (run on cmd)
IMPORTANT go to a friend OR a text channel on a server and just type smth
go to discord console (ctrl + shift + i) network
and click it
to get authorization scroll down until you see Request Header list (example authorization code SUSSSYBAKKASIGMA.SKIBDI.FEMBOYDISCORD-N8_m9nRDYOUMOM)
to put authorization = 'authorization': '!HERE!'
how to get request post do the same thing as earlier but this time find the REQUEST URL on the top (example https://discord.com/api/v9/channels/7234525434567352134/messages)
put at = r = requests.post('!HERE!', data=payload, headers=header)
to put what you going to spam = 'content': '!HERE!'
(python 13)