changed collection name
This commit is contained in:
@@ -10,7 +10,7 @@ const { mClient } = require('../../..');
|
||||
require('dotenv').config()
|
||||
|
||||
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 = {
|
||||
data: new SlashCommandBuilder()
|
||||
|
||||
@@ -29,7 +29,7 @@ module.exports = {
|
||||
)?.[1];
|
||||
|
||||
if (found) {
|
||||
const numberedColl = db.collection("items_daily_numbers");
|
||||
const numberedColl = db.collection("items_ezd");
|
||||
|
||||
const today = new Date().toLocaleDateString("en-CA", {
|
||||
timeZone: "Europe/Berlin"
|
||||
|
||||
Reference in New Issue
Block a user