changed collection name
This commit is contained in:
1 parent
71e53c8014
commit
a126de21d4
2 files changed
+2
-2
No files matched your search
@@ -10,7 +10,7 @@ const { mClient } = require('../../..');
|
|||||||
require('dotenv').config()
|
require('dotenv').config()
|
||||||
|
|
||||||
const db = mClient.db(process.env.M_DB); // adjust if needed
|
const db = mClient.db(process.env.M_DB); // adjust if needed
|
||||||
const coll = db.collection('items_daily_numbers');
|
const coll = db.collection('items_ezd');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ module.exports = {
|
|||||||
)?.[1];
|
)?.[1];
|
||||||
|
|
||||||
if (found) {
|
if (found) {
|
||||||
const numberedColl = db.collection("items_daily_numbers");
|
const numberedColl = db.collection("items_ezd");
|
||||||
|
|
||||||
const today = new Date().toLocaleDateString("en-CA", {
|
const today = new Date().toLocaleDateString("en-CA", {
|
||||||
timeZone: "Europe/Berlin"
|
timeZone: "Europe/Berlin"
|
||||||
|
|||||||
Reference in new issue
Block a user