Skip to content

Commit f3eb29e

Browse files
committed
fix: formatting and text
1 parent 392f4db commit f3eb29e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/events/messageCreate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { add_thread_prefix } from '../utils/threads';
1414

1515
export default event({
1616
name: 'messageCreate',
17-
run: async ({}, message) => {
17+
run: async ({ }, message) => {
1818
// Rules for whether or not the message should be dealt with by the bot
1919
const should_ignore =
2020
message.author.bot ||
@@ -96,7 +96,7 @@ export default event({
9696
},
9797
});
9898

99-
async function send_instruction_message (thread: ThreadChannel) {
99+
async function send_instruction_message(thread: ThreadChannel) {
100100
const base_description =
101101
"I've created a thread for your message. Please continue any discussion in this thread. You can rename it with the `/thread rename` command if I didn't set a proper name for it.";
102102

src/utils/reactionHandler.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
} from 'discord.js';
1010
import { REACTION_ROLE, REACTION_ROLE_CHANNEL } from '../config';
1111

12-
export async function hasPermission (
12+
export async function hasPermission(
1313
reaction: MessageReaction | PartialMessageReaction,
1414
user: User | PartialUser,
1515
): Promise<{ member: GuildMember; roleId: string }> {
@@ -55,7 +55,7 @@ export async function hasPermission (
5555
}
5656
}
5757

58-
export async function sendReactionRoleMessage (client: Client) {
58+
export async function sendReactionRoleMessage(client: Client) {
5959
try {
6060
const channel = client.channels.cache.get(
6161
REACTION_ROLE_CHANNEL,
@@ -75,7 +75,7 @@ export async function sendReactionRoleMessage (client: Client) {
7575
);
7676
messageArray.push('\n**<#879007560429088800>**');
7777
messageArray.push(
78-
"If you'd like to get involved with Tauri development you can react to the Tauri Contributor role below to be able to chat in the various channels.",
78+
"Get involved with Tauri development and browse the different projects.",
7979
);
8080
messageArray.push('\n**<#683637724116418561>**');
8181
messageArray.push(

0 commit comments

Comments
 (0)