Last active
March 21, 2021 01:17
-
-
Save jadc/d6fbe7a26d57c2ebfd20eb984d76a483 to your computer and use it in GitHub Desktop.
Discord Sync Talk (send same message on multiple accounts at once)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare -a TOKENS=( | |
# insert tokens here, one per line | |
) | |
read -p "Channel ID: " CHANNEL | |
say () { | |
curl -X POST -H "Authorization: $2" -H "User-Agent: thiscanbeanything" -H "Content-Type: application/json" -d "{\"content\": \"$1\"}" https://discordapp.com/api/v6/channels/$CHANNEL/messages --no-progress-meter > /dev/null | |
} | |
sayEach () { | |
for t in "${TOKENS[@]}" | |
do | |
say "$1" "$t" & | |
done | |
} | |
while true | |
do | |
echo -n "Botnet: " && read MSG && sayEach "$MSG" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment