Skip to content
Extraits de code Groupes Projets
Valider 90b13011 rédigé par Will Hunt's avatar Will Hunt
Parcourir les fichiers

Apparently we never use secret

parent 3f8af24d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -36,7 +36,6 @@ bridge: ...@@ -36,7 +36,6 @@ bridge:
# Authentication configuration for the discord bot. # Authentication configuration for the discord bot.
auth: auth:
clientID: "12345" clientID: "12345"
secret: "blah"
botToken: "foobar" botToken: "foobar"
logging: logging:
# What level should the logger output to the console at. # What level should the logger output to the console at.
......
...@@ -28,12 +28,10 @@ properties: ...@@ -28,12 +28,10 @@ properties:
type: "boolean" type: "boolean"
auth: auth:
type: "object" type: "object"
required: ["botToken"] required: ["botToken", "clientID"]
properties: properties:
clientID: clientID:
type: "string" type: "string"
secret:
type: "string"
botToken: botToken:
type: "string" type: "string"
logging: logging:
......
...@@ -47,7 +47,6 @@ export class DiscordBridgeConfigDatabase { ...@@ -47,7 +47,6 @@ export class DiscordBridgeConfigDatabase {
export class DiscordBridgeConfigAuth { export class DiscordBridgeConfigAuth {
public clientID: string; public clientID: string;
public secret: string;
public botToken: string; public botToken: string;
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment