From 6740e715903ea9a5c8179408ec4d5666831e3472 Mon Sep 17 00:00:00 2001 From: Bxio Date: Fri, 18 Apr 2025 02:58:50 +0100 Subject: [PATCH] --- {src/commands/Community => testes/commands}/portista.js | 2 +- {src/commands/Community => testes/commands}/teste.js | 0 {src/commands/Community => testes/commands}/testeadd.js | 0 {src/events => testes}/handlers/teste.js | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename {src/commands/Community => testes/commands}/portista.js (98%) rename {src/commands/Community => testes/commands}/teste.js (100%) rename {src/commands/Community => testes/commands}/testeadd.js (100%) rename {src/events => testes}/handlers/teste.js (100%) diff --git a/src/commands/Community/portista.js b/testes/commands/portista.js similarity index 98% rename from src/commands/Community/portista.js rename to testes/commands/portista.js index f2d470d..31c1d64 100644 --- a/src/commands/Community/portista.js +++ b/testes/commands/portista.js @@ -3,7 +3,7 @@ const conn = require('../../../database/db'); console.error("--------------------- portista.js ---------------------"); async function getChoicesFromDatabase() { - const query = `SELECT name, value FROM products`; + const query = `SELECT name, value FROM choices`; let rows; try { diff --git a/src/commands/Community/teste.js b/testes/commands/teste.js similarity index 100% rename from src/commands/Community/teste.js rename to testes/commands/teste.js diff --git a/src/commands/Community/testeadd.js b/testes/commands/testeadd.js similarity index 100% rename from src/commands/Community/testeadd.js rename to testes/commands/testeadd.js diff --git a/src/events/handlers/teste.js b/testes/handlers/teste.js similarity index 100% rename from src/events/handlers/teste.js rename to testes/handlers/teste.js