···11import type { AnyMessageBlock } from "slack-edge";
22-import { channelMappings, userMappings } from "./lib/db";
32import { ircClient, slackApp } from "./index";
33+import { channelMappings, userMappings } from "./lib/db";
44import { canManageChannel } from "./lib/permissions";
5566export function registerCommands() {
···137137138138 context.respond({
139139 response_type: "ephemeral",
140140- text: "Are you sure you want to remove the bridge to *${mapping.irc_channel}*?",
140140+ text: `Are you sure you want to remove the bridge to *${mapping.irc_channel}*?`,
141141 blocks: [
142142 {
143143 type: "section",
···313313314314 context.respond({
315315 response_type: "ephemeral",
316316- text: "Are you sure you want to remove your link to IRC nick *${mapping.irc_nick}*?",
316316+ text: `Are you sure you want to remove your link to IRC nick *${mapping.irc_nick}*?`,
317317 blocks: [
318318 {
319319 type: "section",
···400400 });
401401402402 // List channel mappings
403403- slackApp.command("/irc-bridge-list", async ({ payload, context }) => {
403403+ slackApp.command("/irc-bridge-list", async ({ context }) => {
404404 const channelMaps = channelMappings.getAll();
405405 const userMaps = userMappings.getAll();
406406