-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtools.js
More file actions
26 lines (25 loc) · 795 Bytes
/
tools.js
File metadata and controls
26 lines (25 loc) · 795 Bytes
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
const { EmbedBuilder } = require('discord.js');
module.exports = {
generateEmbed: (title, description) => {
return new EmbedBuilder()
.setColor([2, 62, 138])
.setTitle(title)
.setAuthor({
name: 'Los Altos Hacks Team',
iconURL:
'https://raw.githubusercontent.com/LosAltosHacks/los-altos-hacks/master/frontpage/favicon-new.png',
})
.setDescription(description);
},
generateWarningEmbed: (title, description) => {
return new EmbedBuilder()
.setColor('#FC6255')
.setTitle(title)
.setAuthor({
name: 'Los Altos Hacks Team',
iconURL:
'https://raw.githubusercontent.com/LosAltosHacks/los-altos-hacks/master/frontpage/favicon-new.png',
})
.setDescription(description);
},
};