
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
turtleland-botlist-api
Advanced tools
With this module, you can post your servers to the https://bots.turtleland.cf/bot/<your bot's id> page. Also, you can fetch voted members to your bot.
Usage (For Typescript)
import turtleland_api from "turtleland-botlist-api";
const api = new turtleland_api("<your bot's api key>")
/* discord bot stuff */
client.on("ready", async() => {
const hasVoted: boolean = await api.hasVoted("<user>")
console.log(hasVoted)
/* if user voted, it gives you true; if not, it gives false. */
await api.postGuilds(client.guilds)
/* it's logging a message to the console when response is successfull. */
})
Usage (For Javascript)
const turtleland_api = require("turtleland-botlist-api");
const api = new turtleland_api("<your bot's api key>")
/* discord bot stuff */
client.on("ready", async() => {
const hasVoted = await api.hasVoted("<user>")
console.log(hasVoted)
/* if user voted, it gives you true; if not, it gives false. */
await api.postGuilds(client.guilds)
/* it's logging a message to the console when response is successfull. */
})
Bu modül ile birlikte botunuzun sunucu sayısını https://bots.turtleland.cf/bot/<bot'unun idsi> sayfasına yollayabilirsin. Ayrıca, botuna kullanıcıların oy verip vermediğini sorgulayabilirsin.
Kullanım (Typescript için)
import turtleland_api from "turtleland-botlist-api";
const api = new turtleland_api("<botunun api key'i>")
/* discord bot Ĺźeyleri */
client.on("ready", async() => {
const hasVoted: boolean = await api.hasVoted("<user>")
console.log(hasVoted)
/* eğer kullanıcı oy verdiyse size true değerini verir, vermediyse false değerini verir */
await api.postGuilds(client.guilds)
/* işlem başarılı olduğunda konsola bir mesaj atar. */
})
Kullanım (Javascript için)
const turtleland_api = require("turtleland-botlist-api");
const api = new turtleland_api("<botunun api key'i>")
/* discord bot Ĺźeyleri */
client.on("ready", async() => {
const hasVoted = await api.hasVoted("<user>")
console.log(hasVoted)
/* eğer kullanıcı oy verdiyse size true değerini verir, vermediyse false değerini verir */
await api.postGuilds(client.guilds)
/* işlem başarılı olduğunda konsola bir mesaj atar. */
})
FAQs
Turtleland Bot List's API service.
The npm package turtleland-botlist-api receives a total of 0 weekly downloads. As such, turtleland-botlist-api popularity was classified as not popular.
We found that turtleland-botlist-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.