00:00
00:00
ninjamuffin99
I like Newgrounds stuufff

Cameron muffin99 @ninjamuffin99

Age 25

Money

Middle School Dropout

Toronto, Canada

Joined on 10/2/15

Level:
47
Exp Points:
24,361 / 24,520
Exp Rank:
626
Vote Power:
8.83 votes
Audio Scouts
10+
Art Scouts
10+
Rank:
Pvt. First Class
Global Rank:
2,919
Blams:
586
Saves:
2,472
B/P Bonus:
20%
Whistle:
Silver
Trophies:
101
Medals:
514
Supporter:
9y 3m 27d

Newgrounds/Discord Integration Bot (and server)

Posted by ninjamuffin99 - June 4th, 2019


Last year, around the time the Official Newgrounds Discord server was in it's prime (rest in peace), I made a Discord bot. Did some novelty things, but the ideal use case for the bot was to somehow integrate Newgrounds, and Discord. After about a year of on and off learning, testing, and playing with discord bot and Javascript shit, I FINALLY got a pseado Newgrounds integration going, using the fancy 'new' newgrounds.io API.


INTRODUCING FULPTRON

iu_31422_5520715.png


Right now, the bot gives you a link to sign into Newgrounds through the Newgrounds passport (official site login so its not like I have access to your passwords or emails or anything) then it can give you specific roles depending on certain things. All I have in right now is that it can give you a role if you signed in, which can serve as a mini authentication if you want your server for Newgrounds users only or something, and I also have it so that it can give you a special role if you're a Newgrounds Supporter. Maybe you wanna rep NG and make a special meme channel for NG supporters only. Maybe only NG Supporters can only use certain emotes (I don't have that set up yet, but it's possible).


What this essentially does is associate your Newgrounds account name, with your Discord ID. It can actually even SURPASS the features of the official Newgrounds API in a way through webscraping. Say you use the command 'fulpStats', it could bring up stats about YOUR Newgrounds account.


iu_31423_5520715.png

(The fulpStats feature is actually already working, through webscraping, but you have to type in a specific user. Making it so that it finds YOUR profile when you simply type fulpStats would be cool. I just gotta stop being lazy)


Future possibilities and features could be a secret chat for say, gold whistles. OR any users with a Garbage whistles get BANISHED AND SHOT ON SIGHT LIKE THE SCUM THEY ARE. Maybe it could count your forum post count, and you can get a special role if you have more than 10K posts. Yes, the secret 10K forum can finally be a reality (if it isn't already.... I'll never know....). There's a lot of possibilities. Have anymore? Hit me either in the comments, or discuss them with me on the bootleg Newgrounds discord. We got a good crew in there and I'll probably like talking with you. So you should join: https://discord.gg/bZYmFbm


Want FulpTron in your server?

Well that's pretty nifty. Click THIS LINK if you want the invite where the perms are set up. It gives him FULL ADMIN, but you know he won't abuse his power. Click THIS LINK if you want to manually set up the role perms. Giving him shit like manage roles, manage emojis, etc. or whatever all by yourself.


Want the shit where FulpTron gives you roles depending on if you sign into Newgrounds and/or if you're a Newgrounds Supporter? Make a role called 'Newgrounder' and another called 'Supporter'. Then it's all setup! Newgrounder will be given to anyone signed in, and Supporter will be given to people who sign in and are also a Newgrounds Supporter! From there you can set up role specific perms from there.


The bot is hosted 24/7 on Heroku. Shoutout to @BrentHeMan for helpin me out with that one.

It's entirely open source and available for viewing online on my Github: https://github.com/ninjamuffin99/fulptronjs

It's written in nodeJS, using the Discord.js framework. If you wanna dig into the code to see if it's legit, you can go right ahead.

The database is literally a Google Sheet lmao. All that is stored there is your Discord ID (publicly available), your Newgrounds account name (only if you actually sign in), and if you're a NG Supporter. Oh also a session ID from the NG api, that's kept so that I don't need to send you the NG login page everytime you want to do something with the API.


Most info can be found on the README on the Github. All the commands are here specifically though. I worked pretty hard on it for the past little while. Shoutout to the homie @BrandyBuizel for helpin out too. If you need help with the bot, hit me up on Discord, username ninja_muffin#9104. If you find the bot useful or cool as shit, it'd be pretty sweet if you popped in on this bootleg Newgrounds Discord server https://discord.gg/bZYmFbm

If you want to get talkin with Newgrounds people, I'm very proud to say that this could definitely be the place for you. There's a few stuff specific to this server that FulpTron does here exclusively, like add reations to stuff posted in the creative portals for easy rating/reactions

iu_31424_5520715.png

(Devilish by @BridgeofFaust)


This server (and the old official Newgrounds server) is what inspired me to hop on the project. I fully believe a Newgrounds discord server can thrive (it has been pretty sweet so far) so you should pop in and check things out in this bootleg one: https://discord.gg/bZYmFbm

If you want more cool ass FulpTron features joining in and talkin with people there would inspire me to do shit on FulpTron (or you can give me money, in that case drop some coin to my Paypal lmao im poor)



Tags:

15

Comments

"any users with a Garbage whistles get BANISHED AND SHOT ON SIGHT LIKE THE SCUM THEY ARE"

Welp, lmao.

shame on u SHAME ON YOU

You mad genius

SHOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOMM!

SHOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOM

now this is epic

i wanna join but i have second thoughts about this

what do you mean by that?

@ninjamuffin99 like , i dont wanna get bombed with discord notfications all the time

@ninjamuffin99 like , i dont wanna get bombed with discord notfications all the time

you only get notifacations when someone @'s you. Most servers have it set so that you get notifacations for every message but that setting is stinky so we changed it

@ninjamuffin99 like , i dont wanna get bombed with discord notfications all the time

K @ninjamuffin99

@RGPAnims @ninjamuffin99 fulpshame

@ninjamuffin99 fulpshOOOOOOOOOOOOOOOM

Nicely done!

Awesome.

SHOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOM

SHOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOM

much good

Been going through all your old tips on programming, and I gotta say, it's inspiring to see how often and how much you share with the community.

Niiice

now i can show pics of Fulp to friends and family and not seem like a creepy bitch! thanks you ninjamuffin99

does fulptron still work