You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// WARNING: if there isn't another live instance of the account running while you make a request with a headless client, the account with be disabled and flagged
const Discord = require("discord-user-bots");
const client = new Discord.Client({
headless: true, // Set the "headless" option to true
proxy: "http://xxx.xxx.xxx.xxx:xxxx", // Optional, but useful
});
client.login("Token goes here."); // Doesn't actually send a login request to Discord, just fills in configuration
// In order for this to work, there has to be an instance of this account being logged in somewhere else with the same IP/Proxy
client.send("914533507890565221", {
content: "This message was sent without logging in",