update mainbot.js with new specification
This commit is contained in:
parent
bf032e6ce4
commit
96996fd33d
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
const dialog = {
|
const dialog = {
|
||||||
start: {
|
start: {
|
||||||
buttons: start_buttons
|
buttons: "start_buttons"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -22,14 +22,15 @@ const formatDate = (date) => {
|
|||||||
function start_buttons() {
|
function start_buttons() {
|
||||||
const now = new Date();
|
const now = new Date();
|
||||||
const dateFormated = formatDate(now);
|
const dateFormated = formatDate(now);
|
||||||
print(console)
|
|
||||||
|
|
||||||
// return 1
|
// return 1
|
||||||
return dateFormated
|
return dateFormated
|
||||||
}
|
}
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
version: 1.0
|
version: 1.1
|
||||||
}
|
}
|
||||||
|
|
||||||
{config, dialog}
|
// {config, dialog}
|
||||||
|
const c = {config: config, dialog: dialog}
|
||||||
|
c
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user