Skip to content

Instantly share code, notes, and snippets.

💾
Save often!

John Grosh jagrosh

💾
Save often!
Block or report user

Report or block jagrosh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jagrosh
jagrosh / StatusRoleBot.java
Last active Mar 14, 2019
Discord Bot to sync statuses to roles
View StatusRoleBot.java
/*
* Copyright 2018 John Grosh (john.a.grosh@gmail.com).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@jagrosh
jagrosh / StreamRoleBot.java
Last active Mar 14, 2019
Bot to give a role only when a member is live
View StreamRoleBot.java
/*
* Copyright 2018 John Grosh (jagrosh).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@jagrosh
jagrosh / StatusEnum.java
Created Feb 7, 2018
Discord Status API snippet, part of the bot that runs https://discord.gg/jn7TAP8
View StatusEnum.java
/*
* Copyright 2018 John Grosh <john.a.grosh@gmail.com>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@jagrosh
jagrosh / RoleReactionBot.java
Created Feb 2, 2018
Bot to give (or take away) roles based on clicking certain reactions.
View RoleReactionBot.java
/*
* Copyright 2018 John Grosh (jagrosh).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
View cleverbotiosandbox.js
var bot = new cleverbot("", ""); // Set up keys
var bot2 = new cleverbot("", ""); // Set up keys
var firstword = "Hello.";
bot.setNick("Bill"); // Set a nickname
bot2.setNick("Fred")
bot.create(function (err, session) { // Initialize Cleverbot
bot2.create(function(err, session) {
document.write(bot.nick+": "+firstword);
@jagrosh
jagrosh / SuggestBot.java
Created Nov 8, 2017
Bug/Feature Requests bot
View SuggestBot.java
/*
* Copyright 2017 John Grosh (jagrosh).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@jagrosh
jagrosh / Monster Hunter World Discord
Created Nov 3, 2017
Monster Hunter World Discord
View Monster Hunter World Discord
Monster Hunter World Discord: https://discordapp.com/invite/monsterhunter
MHWorld Discord: https://discord.gg/monsterhunter
MonsterHunterWorld Discord: https://discord.gg/invite/monsterhunter
Monster Hunter World on Discord: https://discordapp.com/invite/monsterhunter
@jagrosh
jagrosh / jagrosh_privacy_policy.md
Last active Aug 12, 2019
Privacy Policy and Agreement for jagrosh's Bots
View jagrosh_privacy_policy.md

Privacy Policy

This document entails the privacy policy and agreement that you accept when adding any of jagrosh's bots to a server, or as a member of such a server. This document does not supersede the Developer Terms of Service.

Bots, Services, and Servers

The following is a list of bots to which this privacy policy applies.

  • Spectra#7794 (135251434445733888)
  • 💾#0863 (159133099806949376)
  • Beta#4388 (162311503821799425)
@jagrosh
jagrosh / Growing A Discord Server.md
Last active Oct 20, 2019
Tips for creating and growing a new Discord server
View Growing A Discord Server.md

This guide is kept up-to-date as Discord and available resources change!

Creating and Growing a Discord Server

logo

Introduction

Hello! I'm jagrosh#4824! I'm writing this guide to try to help new server owners set up and grow their servers, which is a commonly-requested topic. It's very easy to go about this the wrong way, so it's best to be prepared and make smart decisions so that your community can flourish!

Background

You might be wondering: why am I qualified to write this guide? Excellent question! Well, I've created several successful Discord servers, including the Monster Hunter Gathering Hall (70,000+ members, game community), a bot support server (7,500+ members), and two bot community servers (25,000+ members and 20,000+ members). I also help moderate several large servers, and I am a Discord partner. Finally, I am very familiar with the technical aspects of Discord, which are useful for setting up servers and permi

@jagrosh
jagrosh / IDGrabber.java
Last active Mar 14, 2019
get a list of user ids from a server
View IDGrabber.java
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.jagrosh.idgrabber;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
You can’t perform that action at this time.