wickrio-bot-api
Advanced tools
Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "wickrio-bot-api", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "The official Wickr IO Bot API Framework", | ||
@@ -5,0 +5,0 @@ "main": "WickrIOBot.js", |
@@ -79,3 +79,3 @@ const WickrIOAPI = require('wickrio_addon'); | ||
var settings = JSON.parse(fs.readFileSync('package.json')); | ||
//Check if bot supports a user database | ||
//Checks if bot supports a user database saving feature | ||
if (settings.database) { | ||
@@ -190,2 +190,5 @@ var saved = await this.saveData(); | ||
if(message.file){ | ||
var isVoiceMemo = false; | ||
if(message.file.isvoicememo) | ||
isVoiceMemo = true; | ||
var parsedObj = { | ||
@@ -195,3 +198,4 @@ 'file': message.file.localfilename, | ||
'vgroupid': vGroupID, | ||
'userEmail': sender | ||
'userEmail': sender, | ||
'isVoiceMemo': isVoiceMemo | ||
}; | ||
@@ -198,0 +202,0 @@ return parsedObj; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10297
261