]> git.lizzy.rs Git - furrybot-discord.git/commitdiff
Fix asciigenitals getPing usage
authorElias Fleckenstein <eliasfleckenstein@web.de>
Sun, 6 Mar 2022 12:12:33 +0000 (13:12 +0100)
committerElias Fleckenstein <eliasfleckenstein@web.de>
Sun, 6 Mar 2022 12:12:33 +0000 (13:12 +0100)
nsfw.js

diff --git a/nsfw.js b/nsfw.js
index 33f4d102971bb295c58eb995b2f26013ae1f82b2..52bb43c64f7cb720aebc2a009779797cbd751963 100644 (file)
--- a/nsfw.js
+++ b/nsfw.js
@@ -12,7 +12,7 @@ module.exports = {
                params: "[<player>]",
                help: "Display the size of your own or another users's dick",
                func: (msg, [targetPing]) => {
-                       const target = targetPing ? common.getPing(targetPing) : msg.author.id
+                       const target = targetPing ? common.getPing(msg, targetPing, true) : msg.author.id
 
                        if (target)
                                msg.reply(`${asciiDick(target)}    ← <@!${target}>'s Dick'`)
@@ -22,7 +22,7 @@ module.exports = {
                params: "[<player>]",
                help: "Display the size of your own or another users's boobs",
                func: (msg, [targetPing]) => {
-                       const target = targetPing ? common.getPing(targetPing) : msg.author.id
+                       const target = targetPing ? common.getPing(msg, targetPing, true) : msg.author.id
 
                        if (target)
                                msg.reply(`${asciiBoob(target)}    ← <@!${target}>'s Boobs'`)