Skip to content

Instantly share code, notes, and snippets.

View jagrosh's full-sized avatar

John Grosh jagrosh

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jagrosh on github.
  • I am jagrosh (https://keybase.io/jagrosh) on keybase.
  • I have a public key whose fingerprint is 32F1 CE14 7C7D 7A47 F928 56BD 4DA1 6B2E EF40 B602

To claim this, I am signing this object:

@jagrosh
jagrosh / StatusRoleBot.java
Last active June 17, 2022 21:15
Discord Bot to sync statuses to roles
/*
* 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 June 17, 2022 21:15
Bot to give a role only when a member is live
/*
* 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 February 7, 2018 23:13
Discord Status API snippet, part of the bot that runs https://discord.gg/jn7TAP8
/*
* 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 February 2, 2018 19:47
Bot to give (or take away) roles based on clicking certain reactions.
/*
* 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
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 November 8, 2017 21:54
Bug/Feature Requests bot
/*
* 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 November 3, 2017 00:56
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 June 11, 2023 09:16
Privacy Policy and Agreement for jagrosh's Bots

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 November 9, 2024 11:48
Tips for creating and growing a new Discord server

This guide is kept up-to-date as Discord and available resources change!
A basic server template is available here

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