WeeskyBDW
WeeskyBDW
Explore posts from servers
SIASapphire - Imagine a framework
Created by WeeskyBDW on 7/24/2024 in #sapphire-support
Bulk upgrade commands to remove unregistered ones
ok mb environment issue, idk why docker wasn't rebuild image
7 replies
SIASapphire - Imagine a framework
Created by WeeskyBDW on 7/24/2024 in #sapphire-support
Bulk upgrade commands to remove unregistered ones
i did ApplicationCommandRegistries.setDefaultBehaviorWhenNotIdentical(RegisterBehavior.BulkOverwrite); in https://github.com/Skript-MC/Swan/blob/dev/src/structures/commands/SwanCommand.ts (it's a contribution to a french open-source bot) below REGISTRY_OPTIONS
7 replies
DIAdiscord.js - Imagine an app
Created by WeeskyBDW on 6/2/2024 in #djs-questions
[opinion needed] Splitting data fetching to repositories
I close that post in favor of #[opinion needed] Splitting data fetching to repositories in #other-js-ts
3 replies
SIASapphire - Imagine a framework
Created by WeeskyBDW on 5/6/2024 in #sapphire-support
Custom logger transport
but for sure anyone can implement it manually
24 replies
SIASapphire - Imagine a framework
Created by WeeskyBDW on 5/6/2024 in #sapphire-support
Custom logger transport
Thx, doing a plugin would more be to allow anyone to use wilston logging librairie easly
24 replies
SIASapphire - Imagine a framework
Created by WeeskyBDW on 5/6/2024 in #sapphire-support
Custom logger transport
thx
24 replies
SIASapphire - Imagine a framework
Created by WeeskyBDW on 5/6/2024 in #sapphire-support
Custom logger transport
thx and last question: where can i ask opinions about things related to how to organise that plugin ? like what should i made publicy available and how
24 replies
SIASapphire - Imagine a framework
Created by WeeskyBDW on 5/6/2024 in #sapphire-support
Custom logger transport
examples*
24 replies
SIASapphire - Imagine a framework
Created by WeeskyBDW on 5/6/2024 in #sapphire-support
Custom logger transport
i dont see plugin example but more framework use exampels
24 replies
SIASapphire - Imagine a framework
Created by WeeskyBDW on 5/6/2024 in #sapphire-support
Custom logger transport
24 replies
SIASapphire - Imagine a framework
Created by WeeskyBDW on 5/6/2024 in #sapphire-support
Custom logger transport
ok ok thx
24 replies
SIASapphire - Imagine a framework
Created by WeeskyBDW on 5/6/2024 in #sapphire-support
Custom logger transport
the question i have rn about that is : how should ppls being able to add transport ? directly interact with winston ? custom way with sapphire ?
24 replies
SIASapphire - Imagine a framework
Created by WeeskyBDW on 5/6/2024 in #sapphire-support
Custom logger transport
(because i have the worst time management of all time)
24 replies
SIASapphire - Imagine a framework
Created by WeeskyBDW on 5/6/2024 in #sapphire-support
Custom logger transport
i can do it but i can't ensure i can maintain it
24 replies
SIASapphire - Imagine a framework
Created by WeeskyBDW on 4/22/2024 in #sapphire-support
Are command instance recreated every time someone use the associate slash command ?
oh mb just tested and yeah they are init at load time and then reused
7 replies
SIASapphire - Imagine a framework
Created by WeeskyBDW on 4/22/2024 in #sapphire-support
Are command instance recreated every time someone use the associate slash command ?
Thx
7 replies
SIASapphire - Imagine a framework
Created by WeeskyBDW on 4/22/2024 in #sapphire-support
Are command instance recreated every time someone use the associate slash command ?
why i ask that : i want to call a function at bot start for checking if env vars was set properly so i can prevent command to run if not
7 replies
SIASapphire - Imagine a framework
Created by WeeskyBDW on 3/30/2024 in #sapphire-support
Should i acquire every command or only once
Noice, thx
31 replies
SIASapphire - Imagine a framework
Created by WeeskyBDW on 3/30/2024 in #sapphire-support
Should i acquire every command or only once
on the doc it's made in main "scope"
31 replies
SIASapphire - Imagine a framework
Created by WeeskyBDW on 3/30/2024 in #sapphire-support
Should i acquire every command or only once
Last question: should i register commands in a "ready" event callback or is it safe to register anywhere ?
31 replies