Replies: 1 comment 6 replies
-
💀 |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I need the self bot to send slash commands in a server, but since I have few knowledge about coding I tried first finding something, I was near but I always find errors that for someone can be very easy to fix
I'm using an old j4j script for that, can someone can help me fix that or even create one for me? I'm very glad if u do it
here's the code
const express = require("express"); //oxi const { Client, MessageEmbed } = require("discord.js-selfbot"); //oxi const app = express(); //oxi function sleep(milliseconds) { var start = new Date().getTime(); //oxi for (var i = 0; i < 1e7; i++) { //oxi if (new Date().getTime() - start > milliseconds) { break; //oxi } //oxi } //oxi } //oxi const http = require("http"); //oxi app.get("/", (request, response) => { //oxi console.log(Date.now() + " Hostlandı"); //oxi response.sendStatus(200); //oxi }); //oxi app.listen(process.env.PORT); //oxi setInterval(() => { //oxi http.get(
http://${process.env.PROJECT_DOMAIN}.glitch.me/); //oxi }, 280000); //oxi const Discord = require("discord.js-selfbot"); //oxi const client = new Discord.Client(); const data = new Map(); //oxi //oxi//oxi client.on("ready", () => { console.log(
${client.user.username} Successfully Logined!!`); //oxi});
let sent = [];
client.on("message", async msg => {
//oxi
if (msg.channel.type === "dm") {
//oxi
//oxi
} //oxi
});
client.on("guildCreate", oxi => {});
//oxi
client.on("ready", () => {
setInterval(() => {
let oxi = client.channels.cache.get("959820125912043582"); // j4j channel id id'si
//oxi.sendSlashCommand("gaiaqwerty1", "ig"); //oxi (hidden)
}, 8200); //oxi
});
mytoken") // your token
`
Beta Was this translation helpful? Give feedback.
All reactions