Skip to content

Instantly share code, notes, and snippets.

View jagrosh's full-sized avatar

John Grosh jagrosh

View GitHub Profile
@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 / 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 / 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

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: