From 5ef4bb55278c746bbe123974e1072aa7430e4412 Mon Sep 17 00:00:00 2001 From: Christian Paul <christianp@matrix.org> Date: Tue, 12 Jan 2021 19:08:06 +0100 Subject: [PATCH] Change position of the space --- src/discordcommandhandler.ts | 10 +++++----- src/provisioner.ts | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/discordcommandhandler.ts b/src/discordcommandhandler.ts index 5e642fe..9dfaaa6 100644 --- a/src/discordcommandhandler.ts +++ b/src/discordcommandhandler.ts @@ -50,10 +50,10 @@ export class DiscordCommandHandler { permission: "MANAGE_WEBHOOKS", run: async () => { 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 { - return "Thanks for your response, however " + - "the time for responses has expired - sorry!"; + return "Thanks for your response, however" + + " the time for responses has expired - sorry!"; } }, }, @@ -71,8 +71,8 @@ export class DiscordCommandHandler { if (await this.discord.Provisioner.MarkApproved(chan, discordMember, false)) { return "Thanks for your response! The matrix bridge has been declined"; } else { - return "Thanks for your response, however " + - "the time for responses has expired - sorry!"; + return "Thanks for your response, however" + + " the time for responses has expired - sorry!"; } }, }, diff --git a/src/provisioner.ts b/src/provisioner.ts index 54de31d..27db1bf 100644 --- a/src/provisioner.ts +++ b/src/provisioner.ts @@ -100,7 +100,7 @@ export class Provisioner { setTimeout(() => approveFn(false, true), timeout); 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; } -- GitLab