Ich habe dieses Multitool gefunden aber es crasht immer wenn ich ess öffne hier ist der CODE:
@echo off
setlocal enabledelayedxpansion
chcp 65001 > nul
title Diskord
set /p "token-" < token.txt
:main
cls
echo ███╗ ███╗████████╗████████╗
echo ████╗ ████║╚══██╔══╝╚══██╔══╝
echo ██╔████╔██║ ██║ ██║
echo ██║╚██╔╝██║ ██║ ██║
echo ██║ ╚═╝ ██║ ██║ ██║
echo ╚═╝ ╚═╝ ╚═╝ ╚═╝
echo 1. Mass DM Channels
set /p choice="Choose an option §>"
if "%choice%=="1" goto mdc
cls
goto main
echo enter valid option
:mdc
cls
set /p "message=Enter desired message to send $>"
set /p "token-" < token.txt
for /f "tokens=* %%A in (channel_id.txt) do (
call :sendmessage "%%A"
)
:sendmessage
cls
set "channel-%~1"
set "url-https://diskord.com/api/v9/channels/%channeL%/message"
echo sending message %message%to channel ID: %channel%..
:send
curl -X POST -H "Authorization: %token%" -H "Conetent Type: application/json" -d "{\"content\":\"%message%"}" %url%
if %errorlevel% neq o (
echo Rate limited, trying again in 5 seconds...
timeout /t 5 /nobreak >nul
goto send
)
cls
echo Message sent.