Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #61 from mrepol742/master
Browse files Browse the repository at this point in the history
Initial Commit
  • Loading branch information
mrepol742 authored Feb 5, 2024
2 parents 986886d + f343df2 commit 35f6bf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4899,7 +4899,8 @@ async function ai(api, event) {
if (event.type == "message_reply") {
id = event.messageReply.senderID;
} else {
let user = getDataFromQuery(data);
data.shift();
let user = data.join(" ");
let attem = getIdFromUrl(user);
if (/^[0-9]+$/.test(attem)) {
id = attem;
Expand Down

0 comments on commit 35f6bf1

Please sign in to comment.