Skip to content

Commit

Permalink
fix: use correct method for the cutefish reply
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton authored May 7, 2024
1 parent c2e6480 commit 96f1240
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "raboneko",
"version": "0.17.1",
"version": "0.17.2",
"description": "Raboneko.",
"main": "dist/index.js",
"engines": {
Expand Down
3 changes: 1 addition & 2 deletions src/modules/cutefishInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ import { containsWord } from '../util';
const CUTEFISH_MESSAGE = `Ok, wisten up, you! Cutefish used to be part of Ultramarine, until the devewoper just weft, cwosed the website, and weft the GitHub. There's no wevival of Cutefish that wasts wong, and we won't mantain it. If you can pwove to use that a wevival of Cutefish will wast wong, we'll think about it. Now scoot!
Sowwy if you were just saying the word in nowmal convewsation. Keep gowing :3`


client.on(Events.MessageCreate, async (message) => {
if (containsWord(message, 'cutefish')) {
await message.react(CUTEFISH_MESSAGE);
await message.reply(CUTEFISH_MESSAGE);
}
});
1 change: 0 additions & 1 deletion src/modules/funAI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import client from '../client';
import { Events, Message } from 'discord.js';
import { containsWord } from '../util'


client.on(Events.MessageCreate, async (message) => {
if (containsWord(message, 'krane')) {
await message.react('1233642528889245776');
Expand Down

0 comments on commit 96f1240

Please sign in to comment.