-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.js
96 lines (80 loc) · 3.59 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
92
93
94
95
96
/* const { Client, Intents } = require('discord.js');
const { token } = require('./config.json');
const client = new Client({ intents: [Intents.FLAGS.GUILDS] });
const prefix = '#';
client.once('ready', () => {
console.log('Yo the bot is online')
});
client.on('message', message =>{
if(!message.content.startsWith(prefix) || message.author.bot) return;
const args = message.content.slice(prefix.length).split(/ +/);
const command = args.shift().toLowerCase();
if(command === 'ping'){
message.channel.send('pong!');
} else if(command === 'test'){
message.channel.send('yo wassup lol');
}
});
client.on('messageReactionRemove', (reaction, user) => {
console.log(`${user.username} unreacted ${reaction.emoji.name} on this message: ${reaction.message.content}`)
});
client.login(token);*/
/* ARCHIVED COMMAND MODULES
{
name: "help",
code: `
$clientTyping
$reply[$messageID;true]
$color[1;#2f3136]
$title[1;[this ***ISNT*** necessary] {this ***IS*** necessary}]
$description[1;
*Starred commands are reserved only for LightslicerGP/Admins, I'm sorry if you are not one of them :joy:
]
$color[2;#80bfff]
$title[2;General Commands]
$description[2;
General commands that give information or edit settings, some commands might not be on here due to them being used only temporarily and will either be changed or deleted
]
$addField[2;#version;See if im using the Aoijs version or Bdfd version;true]
$addField[2;#test;Testing command, code will change so function and usage will not always be the same;true]
$addField[2;#temp;All index based string functions for an embed;true]
$addField[2;#ping;Check the ping of the bot;true]
$addField[2;(mention the bot);Gives the bot prefix, which is #;true]
$addField[2;#invite;An invite link to invite the bot to your server;true]
$addField[2;*#eval {code};Run code manually;true]
$addField[2;#date;Get today's exact date and time;true]
$addField[2;#calc [expression];solve a simple math problem;true]
$addField[2;*#bot restart;Restart the bot;true]
$addField[2;#bot info;See all the information of the bot;true]
$color[3;#80ff80]
$title[3;Money Commands]
$description[3;
All money and economy related commands
]
$addField[3;#work;Do some work and make some money;true]
$addField[3;#daily;Get your daily $1k;true]
$addField[3;#bal top;Check the top balance in the universe;true]
$addField[3;*#bal set [user] {amount};Set a person's money to any amount;true]
$addField[3;*#bal reset [user];Reset a person's money to $0;true]
$addField[3;#bal give {user} {amount};Give a person some money;true]
$addField[3;#bal gamble {amount};Gamble some money to win 3x the amount (coming soon!);true]
$addField[3;#bal [user];Get a user's balance amount;true]
$color[4;#ff8080]
$title[4;Profile Commands]
$description[4;
All personal profiles with their information
]
$addField[4;#profile set {subcommand} {value};Edit your personal profile;true]
$addField[4;#profile search {subcommand} {value};Check the amount of ppl with a certain Field (coming soon!);true]
$addField[4;#profile [user];Check a persons personal profile;true]
$color[5;#ffff80]
$title[5;Fun Commands]
$description[5;
All fun and random commands that some of which use some-random-api.ml!
]
$addField[5;#tweet [text];Make a fake tweet image;true]
$addField[5;#image [animal];Get a random picture of an animal you choose!;true]
$addField[5;#chat [text];Talk to the bot personally;true]
`
},
*/