1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 12:21:00 -05:00
Daggerbot-TS/src/helpers/TSClient.ts

17 lines
343 B
TypeScript
Raw Normal View History

interface TokenService_API {
main: string,
mongodb_uri: string,
redis_uri: string,
octokit: string,
spotify: {
client: string,
secret: string
}
}
export default class TSClient {
static async Token() {
2023-10-04 22:01:39 -04:00
return await fetch('http://192.168.68.18/daggerbot').then(x=>x.json()) as Promise<TokenService_API>
}
}