-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.js
91 lines (86 loc) · 2.77 KB
/
main.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// import discord.js
const Discord = require('discord.js');
require('dotenv').config();
const client = new Discord.Client({ intents: ["GUILDS", "GUILD_MESSAGES" ,"GUILD_BANS","GUILD_EMOJIS_AND_STICKERS"] })
const prefix = process.env.PREFIX;
const mute = require('./command/mute')
const unmute = require('./command/unmute')
const kick = require('./command/kick')
const ban = require('./command/ban')
const warn = require('./command/warn')
const faq = require('./command/fap')
const badword = require('./command/badword')
const joke = require('./command/joke')
const info = require('./command/info')
const bot = require('./command/bot')
const web = require('./command/website')
const rules = require('./command/rules');
const main = require('./command/main')
const help = require('./command/help')
const mod = require('./command/mod')
const helpm = require('./command/modhelp')
const poli = require('./command/political')
const product = require('./command/product')
//const ping = require('./command/pingrole')
const verify = require('./command/verify')
const link = require('./command/link')
const buy = require('./command/buy')
const ticket = require('./command/create-delete/main')
client.on('ready', () => {
console.log(`Logged in as ${client.user.tag}!`);
client.user.setPresence({ activities: [{ name: 'activity' }], status: 'online' });
const statusArray = [
'Kumi guys, WATCHING',
'movie on netflix, WATCHING',
'Kumi website, PLAYING',
'kumi history, WATCHING',
'random podcast, LISTENING',
' morning news, LISTENING',
'Moderator working, WATCHING',
' american football with my best friend, PLAYING',
'random music in spotify, LISTENING',
'🗺️emoji war💂, PLAYING',
'kumi podcast, LISTENING',
'Hide and seek, PLAYING',
'giveaways, WATCHING',
'Kumi butter balm, PLAYING',
'everyone online, WATCHING',
'Simon says not simoon says, PLAYING',
'GTA V, PLAYING',
'NETFLIX, WATCHING',
'Freefire, PLAYING',
'Roblox, PLAYING',
'Monkeytype.com, PLAYING',
];
setInterval(() => {
client.user.setStatus('online');
const random = statusArray[Math.floor(Math.random() * statusArray.length)].split(', ')
const status = random[0];
const mode = random[1];
client.user.setActivity(status, { type: mode })
}, 3000)
mute(client)
unmute(client)
kick(client)
ban(client)
warn(client)
faq(client)
badword(client)
joke(client)
info(client)
bot(client)
web(client)
rules(client)
main(client)
help(client)
mod(client)
helpm(client)
poli(client)
product(client)
//ping(client)
verify(client)
link(client)
buy(client)
ticket(client)
});
client.login(process.env.DISCORD_TOKEN);