This repository was archived by the owner on Jun 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
53 lines (48 loc) · 1.44 KB
/
config.js
File metadata and controls
53 lines (48 loc) · 1.44 KB
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
let json = {
/////
log: {
"file": `./logs/tempbot-${new Date().getUTCDate() + "." + new Date().getUTCMonth() + "." + new Date().getUTCFullYear()}.log`,
"console": true,
"log": {
1: true, //info
2: true, //debug
3: true, //error
4: true //fatal
}
},
baseEmbed: {
colors: {
warning: 0xc7744c,
error: 0xc74c4c,
info: 0xc7bc4c,
success: 0x59c74c
},
author: {
enabled: true,
// if text is an empty string the author will be the bot user
text: "made by tempbot",
// if url is an empty string the url will be nothing
url: "https://github.com/flloschy/tempbot",
// if icon is an empty string the icon of the client user will be used
icon: ""
}
},
textCommands: [
{
// name and descriptions are always required!
name: "test", description: "example text command",
return: {
// title and description are required!
title: "title", description: "description",
// fields are optional
fields: [
{name: "Example field0", value: "example value0", inline: true},
{name: "Example field1", value: "example value1", inline: true},
{name: "Example field2", value: "example value2", inline: false},
]
}
}
]
/////
}
module.exports = json