This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author
romeo7
Senior Member
Join Date: Mar 2017
Plugin ID:
5725
Plugin Version:
2.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Lets users report a user and admins get notified in discord
    Old 07-29-2017 , 17:33   Re: [ANY] Discord Report
    Reply With Quote #1

    how to use config.js ? where to add?
    romeo7 is offline
    ken5150
    Junior Member
    Join Date: May 2017
    Location: Canada
    Old 08-14-2017 , 08:20   Re: [ANY] Discord Report
    Reply With Quote #2

    Sorry , im still new with this Discord stuff , when i trying to login the bot it showed this messages.


    Spoiler


    Config.js
    Spoiler
    ken5150 is offline
    Cripix
    Senior Member
    Join Date: Sep 2016
    Location: French, Bordeaux
    Old 08-14-2017 , 11:38   Re: [ANY] Discord Report
    Reply With Quote #3

    Quote:
    Originally Posted by ken5150 View Post
    Sorry , im still new with this Discord stuff , when i trying to login the bot it showed this messages.


    Spoiler


    Config.js
    Spoiler
    Just install this =

    npm install steamid
    npm install discord.js --save
    npm install dateformat
    npm install request -g
    npm install mysql
    __________________
    My jailbreak Server :
    Cripix is offline
    drew73197
    Junior Member
    Join Date: Dec 2013
    Old 08-14-2017 , 13:07   Re: [ANY] Discord Report
    Reply With Quote #4

    Quote:
    Originally Posted by Cripix View Post
    Just install this =

    npm install steamid
    npm install discord.js --save
    npm install dateformat
    npm install request -g
    npm install mysql
    Hey thanks for that, totally slipped my mind, I'll have to update the readme with that!
    __________________
    ~Reo
    drew73197 is offline
    ken5150
    Junior Member
    Join Date: May 2017
    Location: Canada
    Old 08-14-2017 , 23:20   Re: [ANY] Discord Report
    Reply With Quote #5

    Thanks for reply and i have new problem when put everything

    Spoiler
    ken5150 is offline
    kneign
    New Member
    Join Date: Jan 2016
    Old 01-23-2019 , 01:04   Re: [ANY] Discord Report
    Reply With Quote #6

    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
    Edu_MochilaBR
    Junior Member
    Join Date: Dec 2016
    Location: São Paulo - Brazil
    Old 01-23-2019 , 20:40   Re: [ANY] Discord Report
    Reply With Quote #7

    Quote:
    Originally Posted by kneign View Post
    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

    Last edited by Sillium; 01-25-2021 at 00:47. Reason: Restore to previous version.
    Edu_MochilaBR is offline
    P4R4DiSi4C
    AlliedModders Donor
    Join Date: Nov 2016
    Old 07-30-2017 , 10:27   Re: [ANY] Discord Report
    Reply With Quote #8

    Thanks for your work. Seems a bit complicated to setup tho... What do I need ? I need a VPS where I can run the discord bot ? + setup that database and link it to my server ?
    P4R4DiSi4C is offline
    ImScottyyy
    Junior Member
    Join Date: Oct 2016
    Location: UK
    Old 09-21-2017 , 23:41   Re: [ANY] Discord Report
    Reply With Quote #9

    Is there anyway that this could be edited so it could grab the IP of the server which the report is coming from and display it in the report message?
    ImScottyyy is offline
    drew73197
    Junior Member
    Join Date: Dec 2013
    Old 09-22-2017 , 00:44   Re: [ANY] Discord Report
    Reply With Quote #10

    Quote:
    Originally Posted by ImScottyyy View Post
    Is there anyway that this could be edited so it could grab the IP of the server which the report is coming from and display it in the report message?
    There most definitely is a way, but I’m unsure if it’s possible without the use of a 3rd party extension. This originally did give the IP with a link to quick connect, but some servers would return the local IP address of 127.0.0.1 and I ended up just removing that part entirely. So yes, but you’d have to add it yourself and most likely have to use a 3rd party extension to do it.
    __________________
    ~Reo
    drew73197 is offline
    Reply



    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 03:09.


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