changed collection name
This commit is contained in:
@@ -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