File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change
1
+ import { channelMention } from "discord.js" ;
1
2
import type { BotContext } from "@/context.js" ;
2
3
import type { MessageCommand } from "@/commands/command.js" ;
3
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 ) ) ) ;
45
46
46
47
await message . author . send (
47
- " 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!` ,
48
49
) ;
49
50
50
51
await message . react ( "✉" ) ; // Send this last, so we only display a confirmation when everything actually worked
You can’t perform that action at this time.
0 commit comments