Skip to content

Commit

Permalink
Amended hug command again
Browse files Browse the repository at this point in the history
  • Loading branch information
SahilMak committed Feb 17, 2024
1 parent cc667d8 commit 49841d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/general.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const general = async (client, channel, command, context) => {
(args.length > 1) ? await client.say(channel, `Hi ${args[1]} HeyGuys`) : await client.say(channel, `Hi @${context.displayName} HeyGuys`);
break;
case '$hug':
if (args[1] && args[1].toLowerCase() === '@islandvibingpresents' || args[1].toLowerCase() === 'islandvibingpresents') {
if (args[1] && args[1].toLowerCase() === '@islandvibingpresents' || args[1].toLowerCase() === 'islandvibingpresents' || args[1].toLowerCase() === 'vibing') {
await client.say(channel, 'This is totally broken. 🧁');
} else {
(args.length > 1) ? await client.action(channel, `${context.displayName} gives a big, friendly hug to ${args[1]} (but only if ${args[1]} accepts)`) : await client.action(channel, `gives a big, friendly hug to @${context.displayName}`);
Expand Down

0 comments on commit 49841d5

Please sign in to comment.