- Messages
- 8,880
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Mmm. I love it when things work.This is a test post from WolfBot using API. Hello, Thread 2900!
Are you the matrix?This is a test post from WolfBot using API. Hello, Thread 2900!
- sent from my iPhoneThis is a test post from WolfBot using API. Hello, Thread 2900!
We're more kind of The Grid around here, my dude.Are you the matrix?
This will be my one and only authorized abuse of this power.Dogs can't look up.
Only thing wrong with this is I can't React to my own posts lolDogs can't look up.
Can you do just one more and make shortkut say that he loves pineapple on pizza?This will be my one and only authorized abuse of this power.
EDIT: Oh bugger, now it looks like Ants! posted from my house/IP...
Ants!, put the kettle on, please.
While within my power, nope. I'm not setting any precedent that this be used for lulz, and you asking me to do it was tantamount to just scheduling a post the really hard way.Can you do just one more and make shortkut say that he loves pineapple on pizza?
What is that?I guess somebody's never heard of updog.
stop trying to find loopholes?Is there another option?
stop trying to find loopholes?
"All things are possible through Christ." - The pastor at church who wants you to give him 10% of your paycheck every month.
"All things are possible through Christ." - The pastor at church who wants you to give him 10% of your paycheck every month.
That's what Nimrod says about them.
It could just make you the Night 0 kill every time.I want to help, but I don't believe WolfBot is ready for my shenanigans.
Unless it somehow also makes it impossible for me to do anything from the dead thread, with the possibility of revivals getting my way, it's just evading the problem.It could just make you the Night 0 kill every time.
classic bot repostThis is a test post from WolfBot using API. Hello, Thread 2900!
Another dumb player response.Another dumb bot test
Yeah at least originally. But now I'm just trying to re-write everything using the API.Have you remembered to tie Alu's user by userID when he inevitably gets another name change?
I don't get paid to be here (in fact probably the opposite), so anything I do to facilitate you being self-sufficient just means I get to be lazy and not have to post.We don't wanna put ben out of work okay
Speaking of a total waste of time where I did absolutely no work, check this outI don't get paid to be here (in fact probably the opposite), so anything I do to facilitate you being self-sufficient just means I get to be lazy and not have to post.
I have enough shadow-ware tools deployed at my real job that I have job security. I am the system/process documentation.
def stick_thread(self):
API_URL = f"https://gwforums.com/api/threads/{self.thread_id}"
payload = {
"sticky": True
}
return requests.post(API_URL, headers=self.headers, data=payload)
def unstick_thread(self):
API_URL = f"https://gwforums.com/api/threads/{self.thread_id}"
payload = {
"sticky": False
}
return requests.post(API_URL, headers=self.headers, data=payload)
wtf why that's the dumbest thing i've ever heardIt's supposedly a boolean, but False resolves to True. 1==2 resolves to True. The only thing that apparently resolves to "False" is a null string. Anything else resolved to True
...and it would resolve to true and make the thread a sticky? WHYdef stick_thread(self):
API_URL = f"https://gwforums.com/api/threads/{self.thread_id}"
payload = {
"sticky": cumfart
}
return requests.post(API_URL, headers=self.headers, data=payload)
That does sound stickywtf why that's the dumbest thing i've ever heard
so you could make the code:
...and it would resolve to true and make the thread a sticky? WHY
Speaking of a total waste of time where I did absolutely no work, check this out
This works to stick the thread, since it changes the "sticky" attribute to "True"
Code:def stick_thread(self): API_URL = f"https://gwforums.com/api/threads/{self.thread_id}" payload = { "sticky": True } return requests.post(API_URL, headers=self.headers, data=payload)
This does not unstick the thread
Code:def unstick_thread(self): API_URL = f"https://gwforums.com/api/threads/{self.thread_id}" payload = { "sticky": False } return requests.post(API_URL, headers=self.headers, data=payload)
And in fact, it actually sticks the thread!
Took me two hours to solve.
It's supposedly a boolean, but False resolves to True. 1==2 resolves to True. 0 resolves to True. The only thing that apparently resolves to False is a null string.
Naturally, if you query the "sticky" flag in the thread object in XF it's value is False if the thread isn't stuck, but you can't update it directly to False. I don't know why it works but it just does okay