Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
dbothook
Advanced tools
Readme
dbothook
helps Discord bot developers recieve webhook events from multiple bot lists. You can create an express application straight from the hook or integrate endpoints into an existing application.
You can install dbothook by running this command:
# Stable
npm i dbothook
yarn add dbothook
# Master
npm i dbots-pkg/dbothook.js#master
yarn add ssh://github.com/dbots-pkg/dbothook.js#master
const DBotHook = require('dbothook');
const hook = new DBotHook({
authSecrets: {
topgg: '…',
discordboats: '…',
discordbotlist: '…',
botsfordiscord: '…'
}
});
hook.listen(5478);
hook.on('called', event => {
// Give them some perks...
});
// This should open endpoints for each bot list
// For example, you can set your webhook URL to "https://some.site/topgg" and start collecting requests.
Service | Key | Returns botId ? | Returns username & discriminator ? |
---|---|---|---|
Arcane Bot Center | arcanebotcenter | ✅ | ✅ |
Botlist.space | botlistspace | ✅ | ✅ |
Bots For Discord | botsfordiscord | ✅ | ❌ |
Discord Boats | discordboats | ✅* | ✅ |
Discord Bot List | discordbotlist | ❌ | ✅ |
Glenn Bot List | glennbotlist | ✅ | ❌ |
List My Bots | listmybots | ✅ | ❌ |
Mythical Bots | mythicalbots | ❌ | ❌ |
Top.GG | topgg | ✅ | ❌ |
*The bot ID from Discord Boats events will be recieved from the URL or the avatar URL in the payload. If your bot has a vanity URL (assuming Discord Boats posts that) and does not have an avatar, the bot ID will be null
.
Any contribution may be useful for the package! Make sure when making issues or PRs that the issue has not been addressed yet in a past issue/PR.
FAQs
Discord bot list poster and stats retriever
The npm package dbothook receives a total of 3 weekly downloads. As such, dbothook popularity was classified as not popular.
We found that dbothook demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.