#not a bug, im just dumb

1 messages · Page 1 of 1 (latest)

mild valley
fading folio
mild valley
#

this keeps getting triggered

mild valley
#

?

mild valley
#

also y is manage permissions shown as MANAGE_ROLES instead of MANAGE_PERMISSIONS in <channel>.permissionOverwrites.cache? - suggestionchange it

mild valley
#

?

craggy pollen
#

can you send err message?

lime glen
#

theres no such flag called MANAGE_PERMISSIONS why wud it?

mild valley
lime glen
#

and its MANAGE_ROLES cus it depends on the roles whether or not u can change perm

mild valley
lime glen
#

doesnt make sense to name it like thay

mild valley
craggy pollen
#

oh

mild valley
#

just triggers when changing perms of a channel

#

which is odd

#

i commented out my channelUpdate event and it still triggered when updating

mild valley
craggy pollen
#

try put it in try and catch

mild valley
#

where would i put it? on send?

craggy pollen
#

what it says when its trigget?

mild valley
#

sends the embed from the code

#

whenever i update channel sends that first embed

craggy pollen
#

i dont see any problem which should trigger it

#

try to look in imported files

mild valley
#

wym

#

i think its a bug coz theres no reason for it to gtrigger

craggy pollen
#

well you have event to send message when theres change

mild valley
#

yh

craggy pollen
#

but this code doesnt do it

#

so try to look at logsSchema or client

mild valley
#

this is channelUpdate code

#

https://srcb.in/BkkhlE0jOU its not complete yet still working on it, but yh when i comment this out, channelDelete still triggers when updating a channel

yep just confirmed its not just perms but when updating a channel

craggy pollen
#

try that channeldelete put out of bot folder and test it

mild valley
#

sure or comment it out?

craggy pollen
#

well easier would be to put it out of folder

#

but your choice

#

if it do same thing, then theres problem in update

mild valley
#

huh

#

thats weird

#

it still sends

#

the embed

craggy pollen
#

huh?

mild valley
#

dam

#

im stupid

#

it aint a bug

craggy pollen
#

then i dont understand why it send embed when you removed file when it doesnt have that embed

mild valley
#

yep its coz i made a copy of the file and renamed it unknowingly for channelUpdate with embed that says channelDeleted

#

well

#

this was a waste of time... sorry, thx for ur help

craggy pollen
#

you can try to rewrite it