diff --git a/src/discordcommandhandler.ts b/src/discordcommandhandler.ts index 5e642fe683ba60f73787f923f1cb3d8bc485d192..9dfaaa6524c31453b43150e5b3bb2ff41e8780ee 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 54de31d4ce28d15abeb0121ffc15a06d61b41ea0..27db1bf7638bbb3e583e4e5a0ec3dce9e21fae23 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; }