Skip to content

jjoaovitor7/discord-leveling-firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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);

Releases

No releases published

Packages

No packages published