mirror of
https://github.com/DarthKilroy/Spot.git
synced 2026-02-12 05:30:09 +00:00
Add create jira bug
This commit is contained in:
parent
6c8cf194a7
commit
1a7822ea69
13 changed files with 418 additions and 97 deletions
13
utils/bind-events.ts
Normal file
13
utils/bind-events.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { Events } from "discord.js";
|
||||
import { client } from "../bot";
|
||||
import { onGuildMemberAdd } from "../events/guild-member-add";
|
||||
import { onInteractionCreate } from "../events/interaction-create";
|
||||
import { onMessageCreate } from "../events/message-create";
|
||||
import { onReady } from "../events/ready";
|
||||
|
||||
export const bindToEvents = () => {
|
||||
client.on(Events.GuildMemberAdd, onGuildMemberAdd);
|
||||
client.on(Events.MessageCreate, onMessageCreate);
|
||||
client.on(Events.ClientReady, onReady);
|
||||
client.on(Events.InteractionCreate, onInteractionCreate)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue