Skip to content

Commit 85c7ee6

Browse files
committed
Remove channel ID from Discord config log output
Simplify the channel display in startup configuration by showing only the channel name (e.g. #general) instead of the verbose format that included the numeric ID (e.g. #general (123456789012345678)).
1 parent 9239424 commit 85c7ee6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ const logDiscordConfig = async () => {
8080

8181
for (const [channelId, events] of channelEvents) {
8282
const channelName = channelNames.get(channelId);
83-
const channelDisplay = channelName
84-
? `#${channelName} (${channelId})`
85-
: channelId;
83+
const channelDisplay = channelName ? `#${channelName}` : channelId;
8684
logger.info(`│ ├─ ${channelDisplay} = ${events.join(", ")}`);
8785
}
8886

0 commit comments

Comments
 (0)