Last active
May 25, 2021 21:52
-
-
Save matthewjohnston4/f79505398a512015f055c59398432951 to your computer and use it in GitHub Desktop.
Nightbot shoutout custom text per username
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!commands add !so $(eval name="$(query)" ?? "default";shoutouts=$(urlfetch json https://gist.githubusercontent.com/matthewjohnston4/ef62107655e471384fe027e0738a5c05/raw/f260c49f7fb7a07e0fc199f41d1b1b8ab765ac10/shoutout_messages.json);(name in shoutouts) ? shoutouts[name] : "This is the default shoutout message to $(query)") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment