Skip to content

Commit

Permalink
Testing out bruh listener
Browse files Browse the repository at this point in the history
  • Loading branch information
Struck713 committed Jul 22, 2023
1 parent 59d3105 commit d1feaf2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: ci

on:
push:
branches: ['release']
branches: ['master']

env:
REGISTRY: ghcr.io
Expand Down
9 changes: 8 additions & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
9 changes: 0 additions & 9 deletions src/listeners/bruh.ts

This file was deleted.

0 comments on commit d1feaf2

Please sign in to comment.