Raised This Month: $ Target: $400
 0% 

[ANY] Discord Report **UPDATED 4/30/24**


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
kneign
New Member
Join Date: Jan 2016
Old 01-23-2019 , 01:04   Re: [ANY] Discord Report
Reply With Quote #14

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?

Last edited by kneign; 01-23-2019 at 01:04.
kneign is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode