Receipts: Split dev and production channels.

Fix missing date utils import
This commit is contained in:
2026-02-03 11:15:05 +01:00
parent 1b3b498723
commit f17cdb12c0
2 changed files with 11 additions and 8 deletions

View File

@@ -5,7 +5,8 @@ module.exports = {
async execute(message) {
if (message.author.bot) return;
if(message.channel.id === '1462060674766344370') {
const receiptsChannelId = process.env.NODE_ENV === 'development' ? '1468186493251227658' : '1462060674766344370';
if(message.channel.id === receiptsChannelId) {
const CURRENCY_MAP = {
"222457277708369928": "EUR", // Minz
"372115788498468864": "SEK", // Miffy