Upvote Upvoted 46 Downvote Downvoted
TF2-related nightbot commands
1
#1
0 Frags +

Hello,

I used to maintain a few Nightbot commands for truktruk and Warhuryeah, I realized that Nightbot's eval gives you access to a javascript environment, I'm therefore trying to port the commands I can and, in the process, make them public. They weren't public before because I was scared of not being able to serve those commands forever or making breaking changes.
I might also write up a tutorial on getting most of these sent automatically once they update by using services like IFTTT or Zappier.

https://github.com/ldesgoui/tf2-nightbot

For now they include:

  • Getting the latest 5 logs related to you
  • Getting a description of the next ETF2L official your team will play
  • Getting the map currently played on

Feel free to request, suggest more, or ask for help (the error messages are pretty wild and unhelpful, don't panic!)
- Pugchamp related stuff seems impossible due to the 500 character limit for commands and 400 character limit for API calls

Thanks

Hello,

I used to maintain a few Nightbot commands for truktruk and Warhuryeah, I realized that Nightbot's eval gives you access to a javascript environment, I'm therefore trying to port the commands I can and, in the process, make them public. They weren't public before because I was scared of not being able to serve those commands forever or making breaking changes.
I might also write up a tutorial on getting most of these sent automatically once they update by using services like IFTTT or Zappier.

https://github.com/ldesgoui/tf2-nightbot

For now they include:
[list]
[*] Getting the latest 5 logs related to you
[*] Getting a description of the next ETF2L official your team will play
[*] Getting the map currently played on
[/list]


Feel free to request, suggest more, or ask for help (the error messages are pretty wild and unhelpful, don't panic!)
- Pugchamp related stuff seems impossible due to the 500 character limit for commands and 400 character limit for API calls


Thanks
2
#2
15 Frags +

Good stuff, thanks TwiiKuu!

Good stuff, thanks TwiiKuu!
3
#3
-9 Frags +

thanks TwiiKuu!

Show Content
i dont even stream why am i here
thanks TwiiKuu!

[spoiler]i dont even stream why am i here[/spoiler]
4
#4
3 Frags +

Hey (sorry for necro), if the commands showed a bunch of errors like "Right-hand side of 'instanceof' is not an object", you're gonna need to update the commands to fix them, I recently got them all working again.
https://github.com/ldesgoui/tf2-nightbot

Hey (sorry for necro), if the commands showed a bunch of errors like "Right-hand side of 'instanceof' is not an object", you're gonna need to update the commands to fix them, I recently got them all working again.
https://github.com/ldesgoui/tf2-nightbot
Please sign in through STEAM to post a comment.