mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 16:30:58 -05:00
Compare commits
No commits in common. "3bd917a81419f1fcc90ad242d63fb8794a04fcfb" and "80b989b9569a897e6c65060d454bef225e2b21b0" have entirely different histories.
3bd917a814
...
80b989b956
@ -1,6 +1,6 @@
|
||||
{
|
||||
"configName": "Daggerbot",
|
||||
"embedColor": "#ffffff",
|
||||
"embedColor": "#0052cf",
|
||||
"embedColorBackup": "#0052cf",
|
||||
"embedColorGreen": "#57f287",
|
||||
"embedColorYellow": "#ffea00",
|
||||
@ -14,7 +14,7 @@
|
||||
],
|
||||
"botSwitches": {
|
||||
"dailyMsgsBackup": true,
|
||||
"registerCommands": false,
|
||||
"registerCommands": true,
|
||||
"commands": true,
|
||||
"logs": true,
|
||||
"mpSys": true,
|
||||
@ -78,8 +78,7 @@
|
||||
"bankick_log": "1048341961901363352",
|
||||
"punishment_log": "1102751034754998302",
|
||||
"dcmod_chat": "742324777934520350",
|
||||
"mpmod_chat": "516344221452599306",
|
||||
"multifarm_chat": "1149238561934151690"
|
||||
"mpmod_chat": "516344221452599306"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
import TokenService from '@toast/tokenservice-client';
|
||||
|
||||
export default async()=>new TokenService('daggerbot').connect();
|
||||
export default async()=>new TokenService('daggerbotbeta').connect();
|
||||
|
3
src/interfaces.d.ts
vendored
3
src/interfaces.d.ts
vendored
@ -157,8 +157,7 @@ export interface Config {
|
||||
bankick_log: string,
|
||||
punishment_log: string,
|
||||
dcmod_chat: string,
|
||||
mpmod_chat: string,
|
||||
multifarm_chat: string
|
||||
mpmod_chat: string
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -124,7 +124,7 @@ async function multifarmWebhook(client:TClient, server:IServer, webhookId:string
|
||||
{name: 'Fuel Usage', value: getMappedValue(txtMapping.fuelUsage, csg?.settings.fuelUsage, dataUnavailable), inline: true},
|
||||
{name: 'Dirt Interval', value: getMappedValue(txtMapping.dirtInterval, csg?.settings.dirtInterval, dataUnavailable), inline: true}
|
||||
];
|
||||
return new HookMgr(client, 'multifarm_chat', webhookId).edit(messageId, {
|
||||
return new HookMgr(client, 'thismeanswar', webhookId).edit(messageId, {
|
||||
content: refreshIntrvlTxt, embeds: [
|
||||
new client.embed().setColor(client.config.embedColor).setTitle(`Savegame Settings - ${csg?.settings?.mapTitle}`).addFields(fields).setFooter({text: 'Last updated'}).setTimestamp()
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user