New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cortana-api

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cortana-api - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

3

index.js
const fetch = require('node-fetch');
exports.chatbot = async function(message) {
exports.cortana = async function(message) {
message.channel.startTyping();
const args = message.content.toLowerCase().replace(/<@(.*?)>/, '').replace(/[^0-9a-z]/gi, '').replace(/\s/, '');
try{
if(message.author.bot)return
fetch(`https://pepee.ga/chat?message=${args}`)

@@ -7,0 +8,0 @@ .then(res => res.json())

{
"name": "cortana-api",
"version": "1.0.0",
"version": "1.0.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc