Skip to content

Commit 72fc383

Browse files
committed
Add punching easter egg
1 parent 0fcb7da commit 72fc383

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

β€Žcommands/punch.jsβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
const pleading = '<:pleading:792119409551867925>';
2+
13
/**
24
* Punch someone
35
* @param {Client} client Discord server client
@@ -7,6 +9,10 @@
79
module.exports = async (client, msg, args) => {
810
if (msg.mentions.users.size > 0) {
911
const snowflake = msg.mentions.users.firstKey();
12+
if (snowflake == client.user.id) {
13+
msg.reply(`Why are you trying to punch me? ${pleading} ${pleading}`);
14+
return;
15+
}
1016
msg.channel.send(`<@${msg.author.id}> 🀜πŸ’₯ punched <@${snowflake}> hard! React with πŸ‘Š in 5 seconds to retaliate!`)
1117
.then(message => {
1218
message.react('πŸ‘Š');

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "amy",
3-
"version": "3.2.45",
3+
"version": "3.2.46",
44
"description": "Your personal assisstant, reimagined",
55
"author": "Gideon Tong <gideon@gideontong.com>",
66
"main": "index.js",

0 commit comments

Comments
Β (0)