SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Tools and Files

Reply
 
Thread Tools Display Modes
Old 23/07/2020, 11:26 AM   #1
perfectboy
Big Clucker
 
perfectboy's Avatar
 
Join Date: Feb 2015
Location: Kernel
Posts: 165
Reputation: 16
Smile Custom Discord Bot Dumbledore For Free (Node.JS)


An open-source custom discord bot for SA-MP(San Andreas Multiplayer) Servers/ Communities


I present to you the Dumbledore Discord Bot. This is a custom bot made for communities having samp servers. It has few basic functions such as SAMP server querying along with examples of server specific functions such as logging of ingame reports in discord , ban, unban cmds.It also has utilities such as /clear to help in clearing spam messages.

Additionally it has example implementation of an Application process which is DM based and can be used for admin applications etc.

Disclaimer: At the time of making this bot I was learning Node.JS for the first time and experimenting with a few things. So currently in terms of code readablity some might find it difficult to understand. Though I have tried to add an explaination for everything what is done.

This release is meant to help new communities that want to try node.js as a platform for their discord bot to build on this.

Here

Currest list of features/functionalities. 📝
-You can query SAMP server you can query samp servers and display the no of players. (/players)
-A CMD to reply with the server IP
-It has a feature similar to the application-bot where it can initiate Applications in DM. (/apply) [ This feature will be refined in future versions]
-It can search for bans (/sban) , it has an example implementation you will need to edit the SQL accordingly.
-It can revoke the bans (/unbanban) , it has an example implementation you will need to edit the SQL accordingly.
-Logging feature for things like reports, it has an example implementation you will need to edit the SQL accordingly.
-A command processor which will allow you to change the bot cmd character.
-Utlity cmd /clear to clear messages in bulk.
-Supports On the fly configuration changes.
---
Deploy for free ✔️

Visit here for detailed tutorial on how to deploy this code for free using Heroku.
https://github.com/abhaysv/SAMP-Disc...umbledore/wiki
Source Code. 📜
Github: https://github.com/abhaysv/SAMP-Discord-Bot-Dumbledore/
Releases: https://github.com/abhaysv/SAMP-Disc...edore/releases
Screenshots 📸








__________________
AKA Dusk_Fawn

Discord : DuskFawn#1433

Last edited by perfectboy; 23/07/2020 at 05:48 PM.
perfectboy is offline   Reply With Quote
Old 23/07/2020, 11:32 AM   #2
perfectboy
Big Clucker
 
perfectboy's Avatar
 
Join Date: Feb 2015
Location: Kernel
Posts: 165
Reputation: 16
Default Re: Custom Discord Bot Dumbledore For Free (Node.JS)

Tutorial on editing the code. ��
Coming soon
__________________
AKA Dusk_Fawn

Discord : DuskFawn#1433
perfectboy is offline   Reply With Quote
Old 23/07/2020, 04:33 PM   #3
Inspiron
Huge Clucker
 
Inspiron's Avatar
 
Join Date: Jul 2013
Location: Mount Chiliad
Posts: 233
Reputation: 18
Default Re: Custom Discord Bot Dumbledore For Free (Node.JS)

Sounds interesting. Might give it a try at some point in future.
__________________

Website | Discord
Inspiron is offline   Reply With Quote
Old 24/07/2020, 04:01 PM   #4
Fratzi
Little Clucker
 
Join Date: Aug 2017
Location: 127.0.0.1
Posts: 11
Reputation: 0
Default Re: Custom Discord Bot Dumbledore For Free (Node.JS)

The problem is if you use a big server (like 200 players), returns the server is offline (or the host don't exist)
I used this samp-query with a server with 500+ players

If someone can fix it..
Fratzi is offline   Reply With Quote
Old 24/07/2020, 05:59 PM   #5
perfectboy
Big Clucker
 
perfectboy's Avatar
 
Join Date: Feb 2015
Location: Kernel
Posts: 165
Reputation: 16
Default Re: Custom Discord Bot Dumbledore For Free (Node.JS)

Quote:
Originally Posted by Fratzi View Post
The problem is if you use a big server (like 200 players), returns the server is offline (or the host don't exist)
I used this samp-query with a server with 500+ players

If someone can fix it..
I tried on a server with 200+ players and seems to work fine. Could enable the debug mode and post the console output so ill be able to help you better. Also you can ping me on discord regarding this issue.
__________________
AKA Dusk_Fawn

Discord : DuskFawn#1433
perfectboy is offline   Reply With Quote
Old 24/07/2020, 06:21 PM   #6
EvilExecutor
Little Clucker
 
EvilExecutor's Avatar
 
Join Date: May 2020
Location: The Hell
Posts: 41
Reputation: 3
Default Re: Custom Discord Bot Dumbledore For Free (Node.JS)

Looks cool! Nice release.
EvilExecutor is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Discord Admin Control Panel - Manage players through discord! Exhibit Filterscripts 34 12/08/2020 04:28 PM
[Ajuda] GM conectar com API node binnyl PortuguÍs/Portuguese 13 18/10/2019 04:11 AM
[FilterScript] Discord Chat - Real time chatting ( Discord + In Game) Exhibit Filterscripts 36 16/10/2019 08:32 PM
FCNPC Node Help Weponz Scripting Help 0 11/06/2014 12:50 PM
Custom Script Looking For Free Hosting AustinJ Scripting Help 0 27/08/2011 03:15 AM


All times are GMT. The time now is 03:37 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.