Fixed queries #295
This commit is contained in:
parent
bfe72668dc
commit
1f9991eeda
@ -1,22 +1,5 @@
|
||||
export class Queries {
|
||||
|
||||
static technicianConfigQuery = `
|
||||
query technicianConfigQuery {
|
||||
technicianConfig {
|
||||
id
|
||||
helpCommandReferenceUrl
|
||||
waitForRestart
|
||||
waitForShutdown
|
||||
cacheMaxMessages
|
||||
pingURLs
|
||||
technicianIds
|
||||
|
||||
createdAt
|
||||
modifiedAt
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
static guildsQuery = `
|
||||
query GuildsQuery($id: ID) {
|
||||
guilds(filter: {id: $id}) {
|
||||
@ -382,31 +365,31 @@ export class Queries {
|
||||
static serverConfigQuery = `
|
||||
query serverConfigQuery($serverId: ID) {
|
||||
servers(filter: { id: $serverId }) {
|
||||
name
|
||||
config {
|
||||
id
|
||||
messageDeleteTimer
|
||||
notificationChatId
|
||||
maxVoiceStateHours
|
||||
xpPerMessage
|
||||
xpPerReaction
|
||||
maxMessageXpPerHour
|
||||
xpPerOntimeHour
|
||||
xpPerEventParticipation
|
||||
xpPerAchievement
|
||||
afkCommandChannelId
|
||||
helpVoiceChannelId
|
||||
teamChannelId
|
||||
loginMessageChannelId
|
||||
afkChannelIds
|
||||
moderatorRoleIds
|
||||
adminRoleIds
|
||||
|
||||
server {
|
||||
name
|
||||
config {
|
||||
id
|
||||
messageDeleteTimer
|
||||
notificationChatId
|
||||
maxVoiceStateHours
|
||||
xpPerMessage
|
||||
xpPerReaction
|
||||
maxMessageXpPerHour
|
||||
xpPerOntimeHour
|
||||
xpPerEventParticipation
|
||||
xpPerAchievement
|
||||
afkCommandChannelId
|
||||
helpVoiceChannelId
|
||||
teamChannelId
|
||||
loginMessageChannelId
|
||||
afkChannelIds
|
||||
moderatorRoleIds
|
||||
adminRoleIds
|
||||
|
||||
server {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user