Closed antbluedz closed 3 months ago
Sky is aware of the issue, but thank you for opening the issue request so he can remember to fix it in DiSky 4.16.1 or whatever the new version is!
The problem here is not the effect itself, but the threads;
Archived threads are not cached anymore, thus we can't get them, we have to retrieve them. For discord commands, DiSky cannot handle retrieving, as they do not run async (they're the same as Minecraft commands).
To make it work, you'll have to retrieve the thread by its ID instead of getting it.
I can't retrieve them.
retrieve all threads from {_guild} and store the threads in {_threads::*}
=> {_threads::*}
gives me an empty list
And in the Disky Wiki, it says:
Retrieve every threads (and cache them) from a specific guild. This effect will only get back the ACTIVE thread, and will pass on the archived ones.
That's because you can't retrieve archived threads of a guild. Discord only allows us to retrieve archived threads for a forum channel
I have a problem with retrieve threads.
It doesn't retrieve all threads from a channel. Just some of them.
And I don't understand why. They don't differ in their creation date, or in their other attributes (tags/lock/unlock/archived/...).
What i used:
command /testdisky:
trigger:
retrieve all threads from forum channel with id "xxx" and store the threads in {_threads::*}
loop {_threads::*}:
set {_thread} to loop-value
set {_thread_id} to discord id of {_thread}
send "%{_thread}%"
And I have no errors in the console.
Yes, it only retrieves archived threads if you specify a forum channel:
Okay, fine. Thank you!
Versions
v4.16.0
v2.8.4
v1.19.4
Description
The 'lock/unlock' and 'archive/unarchive' expressions just don't work.
How it was used:
What it does: Nothing, and I have no error in the console, nor when reloading. What I expected: That it archive/unarchive the thread.