File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ const pleading = '<:pleading:792119409551867925>' ;
2+
13/**
24 * Punch someone
35 * @param {Client } client Discord server client
79module . 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 ( 'π' ) ;
Original file line number Diff line number Diff line change 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" ,
You canβt perform that action at this time.
0 commit comments