Abaddon
Abaddon
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
I'm not sure I understand then; when I open/close tickets using tickettool.xyz, I can (seemingly infinitely) reopen/close tickets in quick succession, the only thing that stops working is once its been done twice the channel name no longer changes but the rest continues immediately
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
unless that'd need to be done outside of a channel.edit instead
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
Is there some sort of other way to do this? My impression that it was possible is the popular ticket tool bot can close/reopen tickets (and rename) twice, then it only does permission setting and channel moving
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
In my code, my end goal is that if this limit is triggered, I will be doing the same channel.edit but removing the portion that changes the name to respect the limit
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
Doing my best to learn myself before trying to get help (like this) - but I've been stuck for days
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
I do, it does seem silly but as I'm new to this I'm trying to make sure I understand what's happening when I go through and fix things
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
This is closing and reopening until the limit triggers
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
Sorry, I'm poor at explaining myself lol
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
Logged in as: SCP Site Roleplay Test#5578
Close1
Close2
Channel ID in function: 1184961015964770355
Ticket Function Start
Channel Parent: 1154463610173665331
Archived Category Log: 1154463734408953897
Reports Category Log: 1154463610173665331
Ticket Close
Success: false
Ticket Close Try
true 1
Name Update Attempt: closed-game-80
Move Attempt: closed-game-80
Success: true
After Channel Stuff
Close4
Close5
Close7
Close8
Close6
Reopen1
Channel ID in function: 1184961015964770355
Ticket Function Start
Channel Parent: 1154463734408953897
Archived Category Log: 1154463734408953897
Reports Category Log: 1154463610173665331
Ticket Reopen
Success: false
Ticket Reopen Try
true 1
Name Update Attempt: game-80
Move Attempt: game-80
Success: true
Close4
Reopen3
Close1
Close2
Channel ID in function: 1184961015964770355
Ticket Function Start
Channel Parent: 1154463610173665331
Archived Category Log: 1154463734408953897
Reports Category Log: 1154463610173665331
Ticket Close
Success: false
Ticket Close Try
true 1
Logged in as: SCP Site Roleplay Test#5578
Close1
Close2
Channel ID in function: 1184961015964770355
Ticket Function Start
Channel Parent: 1154463610173665331
Archived Category Log: 1154463734408953897
Reports Category Log: 1154463610173665331
Ticket Close
Success: false
Ticket Close Try
true 1
Name Update Attempt: closed-game-80
Move Attempt: closed-game-80
Success: true
After Channel Stuff
Close4
Close5
Close7
Close8
Close6
Reopen1
Channel ID in function: 1184961015964770355
Ticket Function Start
Channel Parent: 1154463734408953897
Archived Category Log: 1154463734408953897
Reports Category Log: 1154463610173665331
Ticket Reopen
Success: false
Ticket Reopen Try
true 1
Name Update Attempt: game-80
Move Attempt: game-80
Success: true
Close4
Reopen3
Close1
Close2
Channel ID in function: 1184961015964770355
Ticket Function Start
Channel Parent: 1154463610173665331
Archived Category Log: 1154463734408953897
Reports Category Log: 1154463610173665331
Ticket Close
Success: false
Ticket Close Try
true 1
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
Right, will do
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
It outputs true 1 each time I close/reopen, then on the attempt when the limit is triggered it outputs true 1 and stops completely
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
If by twice you mean: true 1 true 1 No, it does not
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
After commenting that, it stops the code once it outputs true 1
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
Once the limit is triggered, it now skips over the channel.edit
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
Sorry I think I'm explaining myself poorly
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
It outputs the "true 1" message every time, but only stops the code once the limit is triggered
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
by hang do you mean stop running the code?
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
No, I don't
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
It logs once every time
45 replies
DIAdiscord.js - Imagine an app
Created by Abaddon on 12/13/2023 in #djs-questions
.setParent not working after channel name change limits kick in
It logged once immediately, despite the limit not being reached (but ran the code)
45 replies