Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit d07415a

Browse files
authored
refactor: update welcome message and @ message (#220)
1 parent 54d268d commit d07415a

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/events/guildCreate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default class Ready extends BaseEventListener<'guildCreate'> {
1919
.setTitle('👋 Welcome to InterChat')
2020
.setDescription(
2121
stripIndents`
22-
Connect your server with others through public chat hubs! ${emojis.clipart}
22+
Break down server walls and chat across Discord! ${emojis.clipart}
2323
2424
### Quick Start
2525
1. Run \`/setup\` to quickly connect to a hub

src/events/messageCreate.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { showRulesScreening } from '#main/interactions/RulesScreening.js';
33
import { LobbyManager } from '#main/managers/LobbyManager.js';
44
import { ConnectionService } from '#main/services/ConnectionService.js';
55
import { MessageProcessor } from '#main/services/MessageProcessor.js';
6-
import Constants from '#main/utils/Constants.js';
6+
import Constants, { emojis } from '#main/utils/Constants.js';
77
import { handleError, isHumanMessage } from '#utils/Utils.js';
88
import { stripIndents } from 'common-tags';
99
import { Message } from 'discord.js';
@@ -28,16 +28,16 @@ export default class MessageCreate extends BaseEventListener<'messageCreate'> {
2828
}
2929
else if (
3030
message.content === `<@${message.client.user.id}>` ||
31-
message.content === `<@!${message.client.user.id}>`
31+
message.content === `<@!${message.client.user.id}>`
3232
) {
3333
await message.channel
3434
.send(
3535
stripIndents`
36-
### Hey there! I'm InterChat, the cross-server chatting bot! 🎉
37-
- To get started, use \`/help\` for a easy guide on how to use me.
38-
- If you're new here, please read the rules by typing \`/rules\`.
39-
- You can type \`c!connect\` to connect to a random lobby. Or use \`/hub join\` to join a cross-server community.
40-
-# **Need help?** Join our [support server](<${Constants.Links.SupportInvite}>).
36+
### Hey there! I'm InterChat, a bot that connects servers together. ${emojis.clipart}
37+
- To get started, type \`/setup\` to set up InterChat with a hub.
38+
- If you're new here, read the rules by typing \`/rules\`.
39+
- Use the [hub browser](${Constants.Links.Website}/hubs) to find and join more cross-server communities.
40+
-# ***Need help?** Join our [support server](<${Constants.Links.SupportInvite}>).*
4141
`,
4242
)
4343
.catch(() => null);
@@ -57,8 +57,8 @@ export default class MessageCreate extends BaseEventListener<'messageCreate'> {
5757
if (!commandName) return;
5858

5959
const command =
60-
message.client.prefixCommands.get(commandName) ||
61-
message.client.prefixCommands.find((cmd) => cmd.data.aliases?.includes(commandName));
60+
message.client.prefixCommands.get(commandName) ||
61+
message.client.prefixCommands.find((cmd) => cmd.data.aliases?.includes(commandName));
6262

6363
if (!command) return;
6464

0 commit comments

Comments
 (0)