Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

better-top.gg

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

better-top.gg - npm Package Compare versions

Comparing version 1.4.7 to 1.4.8

11

index.js

@@ -14,5 +14,3 @@ const DBL = require('@top-gg/sdk');

if(!this.dbl)return;
this.dbl.postStats({
serverCount: this.client.guilds.cache.size
});
this.dbl.postStats();
},

@@ -22,2 +20,3 @@ auto_post: function(timeMS){

if(timeMS <= 1000)timeMS = (1000*60*60);
timeMS /= 12;
this.post();

@@ -47,3 +46,3 @@ setInterval(() => {

get_votes: async function(){
if(!this.dbl)return;
if(!this.dbl)return null;
const votes = await this.dbl.getVotes();

@@ -59,3 +58,3 @@ if(!votes)return null;

is_weekend: async function(){
if(!this.dbl)return;
if(!this.dbl)return null;
const isWeekend = await this.dbl.isWeekend();

@@ -65,2 +64,2 @@ return isWeekend;

}
module.exports = BetterTop;
module.exports = BetterTop;
{
"name": "better-top.gg",
"version": "1.4.7",
"version": "1.4.8",
"description": "This is an API that creates shortcuts for the top.gg API",

@@ -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