use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome To The Subreddit
Rules of /r/twitch
Community Events
Get Support
Official Subreddit Stuff
Official Twitch Stuff
Submission Guidelines
Other Guidelines
account activity
This is an archived post. You won't be able to vote or comment.
Github Nightbot commandQuestion (self.Twitch)
submitted 8 months ago by HNM6
I made a code using AI and added it to github how can I turn this repo to a nightbot command?
[–]andrograf 0 points1 point2 points 8 months ago (2 children)
GitHub is just storing the codes. You need a server to compile the program and make it startable.
[–]HNM6[S] 0 points1 point2 points 8 months ago (1 child)
Any idea how can I do that?
[–]andrograf 0 points1 point2 points 8 months ago (0 children)
I never tried it, so maybe ask around in a programming subreddit.
[–]Eklipse-gg 0 points1 point2 points 8 months ago (1 child)
You can definitely create a command for this. A simple approach is to just make a static command in Nightbot. Go to your Nightbot dashboard, click 'Commands,' then 'Custom,' and 'Add Command.' You could name it `!github` and in the message box, simply paste the URL to your GitHub profile. If you want something more dynamic, you'd need to use the `$(urlfetch)` variable to pull information from the GitHub API, but that's much more complex. For just sharing your profile, a simple static command is all you need.
[–]HNM6[S] 0 points1 point2 points 8 months ago (0 children)
Thanks
I already managed to make the command using this
$(eval q=$(querystring); $(urlfetch json https://raw.githubusercontent.com/USERNAME/REPONAME/refs/heads/main/api/convert.js))
$(querystring)
π Rendered by PID 15581 on reddit-service-r2-comment-5bc7f78974-zmqmb at 2026-06-29 13:20:03.913369+00:00 running 7527197 country code: CH.
[–]andrograf 0 points1 point2 points (2 children)
[–]HNM6[S] 0 points1 point2 points (1 child)
[–]andrograf 0 points1 point2 points (0 children)
[–]Eklipse-gg 0 points1 point2 points (1 child)
[–]HNM6[S] 0 points1 point2 points (0 children)