cache: sillier self message

This commit is contained in:
Cynthia Foxwell 2025-07-19 00:03:38 -06:00
parent 57a3a4e3a8
commit 34135ec526
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -11,7 +11,7 @@ cache.helpText = "Cache a user to your client from their ID";
cache.usage = "[user id]";
cache.callback = async function (msg, id) {
if (!id || id == "") return "Arguments required";
if (id == msg.author?.id ?? msg.user?.id) return "Can't cache yourself.";
if (id == msg.author?.id ?? msg.user?.id) return "https://tenor.com/view/cat-pointless-sad-run-futile-gif-25822185";
try {
await hf.bot.requestHandler.request("GET", APIEndpoints.USER(id), true);