diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 68c62b6..a33af7f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: ci on: push: - branches: ['release'] + branches: ['master'] env: REGISTRY: ghcr.io diff --git a/src/app.ts b/src/app.ts index 6f7bae5..9599491 100644 --- a/src/app.ts +++ b/src/app.ts @@ -22,7 +22,14 @@ client.on(Events.InteractionCreate, async interaction => { await interaction.deferReply(); command.execute(client, interaction); } -}) +}); + +client.on(Events.MessageCreate, async message => { + if (message.author.bot) return; + if (message.content.toLowerCase().includes("bruh")) { + await message.channel.send("bruh"); + } +}); //deploy(); diff --git a/src/listeners/bruh.ts b/src/listeners/bruh.ts deleted file mode 100644 index 88804e0..0000000 --- a/src/listeners/bruh.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Events } from "discord.js"; -import { client } from "../app"; - -client.on(Events.MessageCreate, async message => { - if (message.author.bot) return; - if (message.content.toLowerCase().includes("bruh")) { - await message.channel.send("bruh"); - } -}); \ No newline at end of file