alduron / jackbot Goto Github PK
View Code? Open in Web Editor NEWA Discord bot for hosting JackBox Party Pack 4
A Discord bot for hosting JackBox Party Pack 4
What should happen after starting the JackBot.Bat? I get a command line and nothing happens (it does not give an error)
The second I double click the bat file it pops up for a split second then goes away.
I play Jackbox a lot with my friends and it would be very cool to add the newest party pack 7!
When entering a game, if a user decides to quit and change game in pack 2, it exits the entire game. Seems to send one more exit key sequence than needed.
Trying to start Pack 2 will cause a loop where the game closes and reopens. Starts steam and closes and reopens and so on.
OS: Windows Server 2019 Standard (Desktop Experience)
VM: Yes (Game opened through an RDP session and then the session is redirected to console)
Hey,
I've had an issue when starting the bot: It always says "JackBot could not connect to Discord" in the log (also says "Config discord link does not exist, assigning default link", I don't know if this is expected behaviour).
I've so far tried it on 2 Machines, one VM and one Physical Machine, both had other working Discord Bots running on them in the past. I went through the Guide 4 times in total and tried it on two different Servers with different Accounts and Bots and gave the bots all Privileged Gateway Intents.
I do not know what I'm doing wrong, or if anyone else is experiencing similar issues.
.bat didn`t work on my computer. can you give me pleace a more accurate descreption what is to do? thx
Hello. I was thinking of setting this bot up on my upcoming server but then I realized that this bot doesn't support Linux. It's not a huge deal, I would probably just use a Windows VM with GPU pass-through but it would be nice if the bot could support Linux :)
see: https://discord.com/developers/docs/reference#user-agent
I went ahead and added a line at the top of JackBox.ps1
$UserAgent = 'DiscordBot (https://github.com/alduron/JackBot, 1.0.0)'
And updated all Invoke-RestMethod
calls to include -UserAgent $UserAgent
This allowed the script to fetch messages from discord. Though there appears to be other problems with the script
Hi!
JacBot.Bat file is crashing when I open it up.
Hello,
I noticed that if you attempt to reset the bot when you are not in a game the bot gets stuck in an infinite loop.
It seems to be because it gets to this part of the code and has a zero value -->
function Start-JackBox([int]$JackTarget){
Write-Log -Message "Starting JackBox pack [$JackTarget]" -Type INF -Console -Log
Set-JackboxState -JackTarget $JackTarget
To solve this I added before the Set-JackboxState line: if(!$JackTarget -eq 0){
This ensures it doesn't get stuck if you !jackbot reset when not in a game.
Hello,
I noticed the SendKeys commands producing inconsistent results when attempting to Stream to Discord. After further investigation I believe you need to make the following changes in your code:
Line 668: Invoke-KeyAtTarget -CMD "^{k}" -Target $Script:Config.DiscordName
CHANGE TO : Invoke-KeyAtTarget -CMD "(^k)+(^)" -Target $Script:Config.DiscordName
and
Line 669: Invoke-KeyAtTarget -CMD "+{1}" -Target $Script:Config.DiscordName
CHANGE TO : Invoke-KeyAtTarget -CMD "(+1)+(+)" -Target $Script:Config.DiscordName
These changes have resulted in a 100% success rate when attempting to trigger the add to channel function.
If someone could write code I add to the file for jackbox 9 That would be perfect
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.