/discord-leveling-firebase

Sistema de leveling exponencial para bots do discord.

Primary LanguageJavaScriptMIT LicenseMIT

discord-leveling-firebase

discord-leveling-firebase

Sistema de leveling exponencial para bots do Discord.

Instalação (npm)

npm i discord-leveling-firebase

Exemplo de uso

const Leveling = require("discord-leveling-firebase");
const leveling = new Leveling(client, {
  apiKey: "",
  authDomain: "",
  projectId: "",
  storageBucket: "",
  messagingSenderId: "",
  appId: "",
});

client.on("messageCreate", async (message) => {
  leveling.leveling(message);
});

Métodos

leveling

leveling.leveling(message);

setlevelingchannel

leveling.setlevelingchannel(message);

disablelevelingchannel

leveling.disablelevelingchannel(message);

ranking

leveling.ranking(message, length);