Open Dragonizedpizza opened 3 years ago
let helpMenu = new Menu(message.channel, message.author.id, [ { name: 'main', content: main, reactions: { '⚙': 'config', '🔍': 'information', '🎮': 'fun', [`${emojis.giveaways}`]: 'giveaways', '📷': 'image', } }, { name: 'config', content: config, reactions: { '🔍': 'information', '🎮': 'fun', [`${emojis.giveaways}`]: 'giveaways', '📷': 'image', } }, { name: 'information', content: information, reactions: { '⚙': 'config', '🎮': 'fun', [`${emojis.giveaways}`]: 'giveaways', '📷': 'image', } }, { name: 'fun', content: fun, reactions: { '⚙': 'config', '🔍': 'information', [`${emojis.giveaways}`]: 'giveaways', '📷': 'image', } }, { name: 'giveaways', content: giveaways, reactions: { '⚙': 'config', '🔍': 'information', '🎮': 'fun', '📷': 'image', } }, { name: 'image', content: image, reactions: { '⚙': 'config', '🔍': 'information', '🎮': 'fun', [`${emojis.giveaways}`]: 'giveaways', } }, ], 30000) helpMenu.start() } }
emojis.giveaways is defined as btw. There's no error, once I react on the giveaway emoji it removes my reaction and stays on the same page.