on ready messages
is there any chance to disable "commands initialized" message on startup ?
38 Replies
Other than setting a higher logging level there isnt. Can you explain why they bother you?
Also sidenote, wolf/death is amazing
i just wanted to send my own messages instead of built in messages
its not bothering me
its not a bad thing
i just asked if there is config file about that
.
also side answer: best villain in animation world ever
I mean you can still listen on the ready event and send something...
In fact those built in messages aren't even the ready event
yea but i just asked if is there a config about that
not for the built in messages, no, but as I said, those are not
ready
event message and they do not block you to send your own ready event messages@Favna just talking about this
I am well aware
I already answered it
ah yea
ik its not blocking
its just for visual
not any particular reasons
if there is option it would be great
if there is not
there is no problem
@Vladdy should we add an option for that...?
it was just optional
opposed to it
i can use it like this but let me give u example
are you using application commands (aka slash commands) Fenish?
if i use console commands it becomes like this at first command
yea
then you kinda really need those logs because they tell you when they're ready
yea yea
or maybe
you can add event for that
like
onCommandsRegistered
or
client.isCommandsRegistered
after that users can send their messages
i mean not really
we can provide options to disable it
i'm not against it
its not super necessary, but maybe that option would be great
option or condition
like this
i dont think we emit an event for it
we probably should
you know the business
to achieve this change the ready listener to
Events.ApplicationCommandRegistriesRegistered
and you're already finished as the chain is ready
-> register commands -> Events.ApplicationCommandRegistriesRegistered
ezpzlet me update
first message gone but seconds still exists xd
code this
Dear god
please make use of Sapphire listeners
dont manually do
client.on
ahh
Sapphire Framework
What are listeners and how do they work? | Sapphire
Listeners are classes that contain logic that will be ran whenever a given event occurs.
not that it will fix your issue but why use sapphire if you're not gonna use sapphire
yea yea that makes sense
overlooked
im kinda new to sapphire, djs
switched from python
is this right way ? @Favna xd
yes
i thought it will become this
#framework-development
never said that changing the event would fix the issue
ah wait
oh then i didn't get it
ah you added options okay