We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8943c19 commit 5a35af5Copy full SHA for 5a35af5
src/commands/hilfe.ts
@@ -1,3 +1,4 @@
1
+import { channelMention } from "discord.js";
2
import type { BotContext } from "@/context.js";
3
import type { MessageCommand } from "@/commands/command.js";
4
import * as commandService from "@/service/command.js";
@@ -44,7 +45,7 @@ export default class HilfeCommand implements MessageCommand {
44
45
await Promise.all(chunks.map(chunk => message.author.send(chunk)));
46
47
await message.author.send(
- "Bei Fragen kannst du dich über den Kanal #czs-Bot (<#902960751222853702>) an uns wenden!",
48
+ `Bei Fragen kannst du dich über den Kanal #csz-bot (${channelMention("902960751222853702")}) an uns wenden!`,
49
);
50
51
await message.react("✉"); // Send this last, so we only display a confirmation when everything actually worked
0 commit comments