SIMSIMI

mail@pastecode.io avatar
unknown
javascript
3 years ago
584 B
4
Indexable
Never
if (input.toLowerCase().includes("simsimi")) {
                    api.getUserInfo(event.senderID, (err, data) => {
                        if (err) return console.error(err);
                        else {
                            axios.get('https://api-sv2.simsimi.net/v2/?text=' + input + '&lc=ph&cf=false')
                            .then(response => {
                                    api.sendMessage(response.data.success, event.threadID, event.messageID);
                                });
                        }
                    });
                }