-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.js
71 lines (59 loc) · 3.56 KB
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
const Discord = require('discord.js-selfbot-v13');
const c = require('gradient-string');
const colors = require('colors');
const q = require('readline-sync')
const client = new Discord.Client({
readyStatus: false,
checkUpdate: false,
});
const config = require('./config')
const color = () => {
switch (config.color) {
default:
return ["#3c00ff", "#07d6fa"]
}
}
const lang = (fr, en) => {
switch(config.lang) {
case "en":
return en;
case "fr":
return fr;
default:
return en;
}
}
let Token = q.question('Enter a token: ');
client.login(Token);
client.on('ready', () => {
console.clear()
console.log(c(color())(`
▄████████ ▄████████ ███ ▄████████ ▄████████ ▄████████ ▀█████████▄
███ ███ ███ ███ ▀█████████▄ ███ ███ ███ ███ ███ ███ ███ ███
███ ███ ███ █▀ ▀███▀▀██ ███ ███ ███ ███ ███ █▀ ███ ███
███ ███ ███ ███ ▀ ▄███▄▄▄▄██▀ ███ ███ ███ ▄███▄▄▄██▀
▀███████████ ▀███████████ ███ ▀▀███▀▀▀▀▀ ▀███████████ ▀███████████ ▀▀███▀▀▀██▄
███ ███ ███ ███ ▀███████████ ███ ███ ███ ███ ██▄
███ ███ ▄█ ███ ███ ███ ███ ███ ███ ▄█ ███ ███ ███
███ █▀ ▄████████▀ ▄████▀ ███ ███ ███ █▀ ▄████████▀ ▄█████████▀
███ ███
`))
console.log(` •----------•\n`.bold.black)
let Id = q.question(`${lang("Entrez un ID: ", "Enter an ID: ")}`)
let Type = q.question(`${lang("Enter a type (PLAYING, STREAMING, LISTENING, WATCHING, COMPETING) [Full Maj]: ", "Entrer un type (PLAYING, STREAMING, LISTENING, WATCHING, COMPETING) [Full Maj]: ")}`);
let Name = q.question(`${lang("Enter a name: ", "Entrer un nom: ")}`);
let Details = q.question(`${lang("Enter a details: ", "Entrer un details: ")}`);
let State = q.question(`${lang("Enter a state: ", "Entrer un state: ")}`);
let LargeImg = q.question(`${lang("Enter a large image: ", "Entrer une large image: ")}`);
const r = new Discord.RichPresence()
.setApplicationId(Id)
.setType(Type)
.setName(Name)
.setDetails(Details)
.setState(State)
.setAssetsLargeImage(LargeImg)
client.user.setActivity(r)
client.user.setPresence({status: 'dnd'})
console.log(`\n •----------•\n`.bold.black)
console.log(`Connected as ${client.user.tag}`.bold.green)
});