0.0.4 • Published 1 year ago

@infinitybots/autoposter v0.0.4

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

Infinity Auto Poster

The easy way to Post your Bots Server and Shard Count stats.

Note: This Module will post stats every 5 Minutes.


Links


Supported Librarys

  • Detritus
  • Discord-Rose (Buggy and Untested)
  • Discord.js
  • Eris (Buggy and Untested)

Example

const { InfinityAutoPoster } = require('@infinitybots/autoposter')

const poster = InfinityAutoPoster('auth_token', client) // your discord.js or eris client

// Optional Logger
poster.on('posted', (stats) => {

  console.log(`Posted stats to the Infinity Bot List API | ${stats.servers} servers`)

});

Example Error

const { InfinityAutoPoster } = require('@infinitybots/autoposter')

const poster = InfinityAutoPoster('auth_token', client) // your discord.js or eris client

// Optional Logger
poster.on('error', (err) => {

  console.log(err)
})
0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago