Quote:
Originally Posted by kneign
Hey, nice Bot, but I get the following warnings:
"(node:18544) DeprecationWarning: Collection#find: pass a function instead
(node:18544) DeprecationWarning: Collection#find: pass a function instead
(node:18544) DeprecationWarning: Collection#find: pass a function instead"
Seems to react on the rows:
guild = client.guilds.find("id",config.serverID);
admin = guild.roles.find("name", config.adminRole);
channelReport = client.channels.find("name",channelName);
Can you maybe update them for the newer discord.js?
|
same here, all reports are sent from servers, but no on discord, since yesterday.
EDIT - SOLVED