Skip to content
Extraits de code Groupes Projets
Valider 5ef4bb55 rédigé par Christian Paul's avatar Christian Paul
Parcourir les fichiers

Change position of the space

parent 090d3c34
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -50,10 +50,10 @@ export class DiscordCommandHandler { ...@@ -50,10 +50,10 @@ export class DiscordCommandHandler {
permission: "MANAGE_WEBHOOKS", permission: "MANAGE_WEBHOOKS",
run: async () => { run: async () => {
if (await this.discord.Provisioner.MarkApproved(chan, discordMember, true)) { if (await this.discord.Provisioner.MarkApproved(chan, discordMember, true)) {
return "Thanks for your response! The matrix bridge has been approved"; return "Thanks for your response! The matrix bridge has been approved.";
} else { } else {
return "Thanks for your response, however " + return "Thanks for your response, however" +
"the time for responses has expired - sorry!"; " the time for responses has expired - sorry!";
} }
}, },
}, },
...@@ -71,8 +71,8 @@ export class DiscordCommandHandler { ...@@ -71,8 +71,8 @@ export class DiscordCommandHandler {
if (await this.discord.Provisioner.MarkApproved(chan, discordMember, false)) { if (await this.discord.Provisioner.MarkApproved(chan, discordMember, false)) {
return "Thanks for your response! The matrix bridge has been declined"; return "Thanks for your response! The matrix bridge has been declined";
} else { } else {
return "Thanks for your response, however " + return "Thanks for your response, however" +
"the time for responses has expired - sorry!"; " the time for responses has expired - sorry!";
} }
}, },
}, },
......
...@@ -100,7 +100,7 @@ export class Provisioner { ...@@ -100,7 +100,7 @@ export class Provisioner {
setTimeout(() => approveFn(false, true), timeout); setTimeout(() => approveFn(false, true), timeout);
await channel.send(`${requestor} on matrix would like to bridge this channel. Someone with permission` + await channel.send(`${requestor} on matrix would like to bridge this channel. Someone with permission` +
" to manage webhooks please reply with `!matrix approve` or `!matrix deny` in the next 5 minutes"); " to manage webhooks please reply with `!matrix approve` or `!matrix deny` in the next 5 minutes.");
return await deferP; return await deferP;
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter