-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathconfig.js
36 lines (35 loc) · 916 Bytes
/
config.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
import {dashboardData} from "./dashboard-data";
import {KillKane} from "./features/kill-kane";
import {KillKaneAction} from "./actions/Killkane";
/**
* @type ConfigType
*/
export const config = {
name: "Dishub",
footer: [
{
name: {zh: "支持", en: "Support"},
url: "https://github.com/SonMooSans"
}
],
settings: detail => [
{
id: "say",
name: "Test",
type: "string",
value: detail["say"]
}
],
actions: {
"kill_kane": KillKaneAction
},
features: {
"auto_kill_kane": KillKane
},
tutorialUrl: "https://github.com/SonMooSans/discord-bot-dashboard",
serverUrl: "http://localhost:8080",
inviteUrl: "https://discord.com/api/oauth2/authorize?client_id=1004280473956139038&permissions=8&scope=bot",
data: {
dashboard: dashboardData,
},
}