Questions tagged [quick.db]

Quick.db is an easy to use database wrapper for better-sqlite3. Use this tag for questions about the usage of quick.db.

Quick.db is an easy to use database wrapper for better-sqlite3, it was designed to be simple to let new users who are just getting into development and don't want to worry about learning SQL just quite yet.

better-sqlite3 is a Node.js library for SQLite3.

129 questions
0
votes
1 answer

Is quick.db supported on Glitch?

Is possible to use the Database "quick.db" on Glitch? I tried to use in Visual Studio Code and worked fine, but when i tried on Glitch, didnt worked
0
votes
0 answers

Quick.DB Add Tag Issue in Discord - Discord.JS

I am making a Tags System on my Discord Bot with Discord.JS. Basically with Tags, you start by adding a tag with the name and content. Once added, running the tag command will return the content of the Tag. Theres other Tag Commands such as Tag Info…
NTM Nathan
  • 67
  • 1
  • 4
  • 13
0
votes
1 answer

quick.db leveling system - database.updateValue is not a function

I'm trying to make a leveling system with a discord bot using quick.db. I've been working with this for a while and couldn't figure it out so I figured I'd go here. My current code is: (app.js) //Message Leveling …
Peppa Papa
  • 85
  • 4
  • 13
0
votes
1 answer

Trying to do close and open command quick.db

const db = require("quick.db"); module.exports.run = async (client, message, args) => { let botfetch = db.fetch(`ddoskoruma_${message.guild.id}`); let kapaç = args[0]; if (kapaç === "aç") { db.set(`ddoskoruma_${message.guild.id}`) …
Supreme
  • 3
  • 2
0
votes
1 answer

My command is not setting my role id when I run it, it never SETS it?

I'm trying to make a mute command, but when trying to set the ROLE ID for my database, it won't set it, does anybody know how to fix this? What I am using: discord.js, quick.db Different files are between THREE line of comments, and a large amount…
BashGuy
  • 5
  • 1
  • 4
0
votes
2 answers

Trying to make a Economy bot with quick.db, but my command is not working

Basically, I am trying to create a discord.js/quick.db economy system and I tried making a simple balance command, using a tutorial for guidance, and this command won't execute, but no errors are showing in the logs. I tried researching how to do…
Hippzo
  • 1
  • 1
0
votes
1 answer

import * as db from "quick.db"; = SyntaxError: Unexpected token * and i dont really know what that means or how to fix it?

I am still very new with coding so I follow tutorials and I'm currently trying to make a currency system and so I've been trying to follow this tutorial: https://youtu.be/PnXv-0RUdRI and one of the things that are in his code is import * as db from…
0
votes
2 answers

About the Quick.db module:

db module is possible to add writings. But is it possible to subtract the writings? It may also be caused by my incompetence this is my code: const db = require('quick.db') const Discord = require('discord.js') exports.run = async (client,…
Cosmos
  • 3
  • 4
0
votes
2 answers

Npm won't install quick.db, returns these errors

I am trying to install quick.db for my discord.js bot, and when I attempted installing by running these two commands: npm -g --add-python-to-path install windows-build-tools node-gyp and npm i quick.db It returns me this error Here is the log Does…
fraday15
  • 53
  • 1
  • 3
  • 14
0
votes
1 answer

Is 'quick.db" supported on Heroku?

I receive this error whenever I run an application which requires the quick.db Here's the error:
Brands ツ
  • 21
  • 1
-1
votes
1 answer

Discord.js and quick.db data not found error

It is a topic opened by making use of translation. The part that gives the error without giving the whole code is as follows: const Discord = require('discord.js'); const moment = require('moment'); const { prefix } =…
DnzCgn
  • 1
  • 1
-1
votes
1 answer

I want to make a whitelisted command using quick.db

I want to make a whitelist command using quickDB, so that if I do !whitelist @user/userid Then it stores data in the database
-1
votes
1 answer

Discord.js Ticket system doesn't send an ephemeral message

I'm trying to make a ticket system with discord.js v13, but the ephemeral method doesn't work and, when my bot turn on, i need to click one time in the button to activate the system. print My code: const { MessageActionRow, MessageButton,…
snowe
  • 3
  • 1
  • 5
-1
votes
1 answer

Is there a way to make a discord.js logging system using quick.db

I am trying to make a discord.js logging system for my discord bot using quick.db Whenever I restart it, anything sent BEFORE the restart will not be logged for any actions I am currently trying this code const Discord = require("discord.js") const…
Cmb
  • 334
  • 2
  • 18
-1
votes
1 answer

"\" in JSON response

So my app gets data from my database but it send a response with " \ " Express response [ { "ID": "account-saassan", "data": "{\"uuid\":\"saassan\",\"username\":\"sasasasasa\"}" } ]…
pajsen
  • 3
  • 3
1 2 3
8
9