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
-1
votes
4 answers

Losing data from Quick.db in my Discord Bot

I have a bot game in Discord, so i've used 'express' library to set the bot online (I guess). First of all to be clear, I'm not a dev pro, only a person who learned watching tutorials in YT. So I've created a bot game, but sometimes, my bot get…
alienjs
  • 1
  • 1
-1
votes
1 answer

how to count how many times a command is used [discord.js]

Simply when people use the tutorial !ping command I want to count how many times and show it back in chat. like 'ping has been used this many times' I found something talking about quick.db but still don't know a lot. currently, the messages show as…
-1
votes
2 answers

Discord bot specific word counter per user

I'm trying to make a discord bot that counts how many times you've said the word turtle, in a specific channel. Discord.js, I don't really see any way to do this, What would be a good place to start off with the code? Also a way to say turtlecount…
Fuzzy UwU
  • 1
  • 1
  • 1
-2
votes
1 answer

I want to delete something in quick.db

I was trying to make a discord bot using discord.js and as db i am using quick.db i want to delete a item but when i use my code it's deleting whole array but i want to delete a single thing const db = quick.db const emote =…
-2
votes
1 answer

Problem installing quick.db in npm for discord bot in discord.js

-> I got this error while trying to install quick.db: https://pastebin.com/qHwyUxPe I tried the troubleshooting on the documents: https://github.com/JoshuaWise/better-sqlite3/blob/master/docs/troubleshooting.md I found some similar questions and…
Hán
  • 1
  • 3
-2
votes
1 answer

How to fix quick.db is not installing?

I have been trying to install quick.db package on my repl.it project but on every time I try that it just crashes and gives this error: It was working fine before but when I reinstalled it for a reason it started crushing every time. I need this…
Hassan_BH
  • 113
  • 1
  • 2
  • 11
-2
votes
2 answers

Having trouble getting values using quick.db in discord.js (Typescript)

I am writing a discord bot in typescript and can't seem to retrieve data. I can see the user ids in the JSON.sqlite file but I can't figure out why it returns null when I retrieve data. If you want to see my code I have it on Pastebin with a couple…
Stale
  • 1
-2
votes
1 answer

In discord.js, using quick.db I want to create a sell command for a currency system for my bot

I want to create a sell command for my bot and I have already made a balance, inventory and buy command using tutorials. I have created ways to get money like a daily command and also a work command. Here is my code for the buy command. const…
IhsFace
  • 13
  • 4
1 2 3
8
9