const { Message } = require("discord.js"); const { client } = require(".."); module.exports.meta = { name: 'obamium', aliases: ['obab'], staffOnly: false } const gID = '653568812578373643'; const IDs = [ ['715931208135213087', '715931208281882666', '715931208936325141', '715931208332345366'], ['715931208269168812', '715931208432746537', '715931208491597924', '715931208357249044'], ['715931208361574421', '782261410876751943', '715931208290140172', '715931208374026332'], ['715931208378220666', '715931208319500310', '715931208898445402', '715931208550318170'] ]; /** * * @param {Message} message * @param {Array} args */ module.exports.run = async (message, args) => { try { const guild = client.guilds.cache.get(gID); let msg = ''; IDs.forEach(row => { row.forEach(eID => { msg += guild.emojis.cache.get(eID).toString(); }); msg += '\n' }); message.channel.send(msg); } catch(e) { console.error(e); } }