Skip to content

Commit

Permalink
v198
Browse files Browse the repository at this point in the history
  • Loading branch information
FJrodafo committed Jan 29, 2025
1 parent 304c38e commit ae2a305
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 2 deletions.
2 changes: 2 additions & 0 deletions App/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@

# secrets
/canary/config.json
/shrike/config.json
/src/config.json
.env

# misc
/deprecated
/shrike
7 changes: 7 additions & 0 deletions App/canary/events/messageCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ const { Events } = require('discord.js');

module.exports = {
name: Events.MessageCreate,

/**
* GatewayIntentBits.MessageContent must be enabled in the index.js file
*
* @param {*} message
* @returns messages depending on the content
*/
async execute(message) {
if (message.author.bot) return;
if (message.content.toLowerCase() === 'hi') await message.channel.send('hi');
Expand Down
1 change: 1 addition & 0 deletions App/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"scripts": {
"start": "node ./src/deploy-commands.js && node ./src/index.js",
"canary": "node ./canary/deploy-commands.js && node ./canary/index.js",
"shrike": "node ./shrike/deploy-commands.js && node ./shrike/index.js",
"eslint": "eslint './**/*.js'",
"eslintfix": "eslint './**/*.js' --fix",
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down
2 changes: 1 addition & 1 deletion App/src/commands/help/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const path = require('path');
const emoji = require('./../../utils/emoji.js');

module.exports = {
category: 'utility',
category: 'help',
data: new SlashCommandBuilder()
.setName('help')
.setDescription('Shows all available commands!')
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
```
* Commit: 304c38e - v197
| Author: fjrodafo - Fri, 24 Jan 2025 23:28:27 +0000
|
* Commit: 6d7565a - v196
| Author: fjrodafo - Mon, 6 Jan 2025 19:36:48 +0000
|
Expand Down
2 changes: 1 addition & 1 deletion VERSION.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
`v197`
`v198`

0 comments on commit ae2a305

Please sign in to comment.