Add create jira bug

This commit is contained in:
Amaryllis 2023-12-18 14:04:26 +01:00
parent 6c8cf194a7
commit 1a7822ea69
13 changed files with 418 additions and 97 deletions

View file

@ -0,0 +1,12 @@
import { GuildMember, TextBasedChannel } from "discord.js";
import { client } from "../bot";
import config from "../config";
export const onGuildMemberAdd = async (member: GuildMember) => {
const msg = `Welcome, <@${member.id}>! If you joined for any specific support questions `
+ `please check out <#863171642905591830> first to see if your issue is known, `
+ `and make sure that your app is up-to-date before posting.`;
const channel: TextBasedChannel | null = await client.channels.fetch(config.channels.joins) as TextBasedChannel;
channel?.send(msg);
}