Skip to content

Instantly share code, notes, and snippets.

View Yumatsu's full-sized avatar
🌴
On vacation

Defalt Yumatsu

🌴
On vacation
  • Nenhuma no momento :p
  • Porto alegre - Brazil
View GitHub Profile
@Yumatsu
Yumatsu / Bot_tutorial_Discord_5.js
Created August 14, 2019 14:20 — forked from pedroricardo/Bot_tutorial_Discord_5.js
Código do tutorial: https://youtu.be/qaArXO_W8kQ - Banco de dados LowDB
const Discord = require("discord.js"); //baixar a lib discord.js
const client = new Discord.Client();
const config = require("./config.json");
const low = require('lowdb') //banco de dados
const FileSync = require('lowdb/adapters/FileSync')
const adapter = new FileSync('banco.json')
const db = low(adapter)
client.on("ready", () => {