chillihero
Explore posts from serversSIASapphire - Imagine a framework
•Created by chillihero on 5/13/2024 in #sapphire-support
i18n only translate command description
How would I hardcode the command name but localise the description?
Just using
applyLocalizedBuilder(builder, 'mycommand', 'commands/mycommand:description')
?
or setting the name afterwards with .setName('mycommand')
5 replies
SIASapphire - Imagine a framework
•Created by chillihero on 1/9/2024 in #sapphire-support
How to use "and" & "or" with preconditions?
The Guide does not have any examples of this, so Im wondering how I can achive this.
Having one of multiple preconditions needing to match
Having multiple preconditions needing to match
14 replies
SIASapphire - Imagine a framework
•Created by chillihero on 7/15/2023 in #sapphire-support
How to check if a number (the permission integer) has the manage server permission?
I need to check this, without using discordjs, only the sapphire/bitfield package
I didnt understand the readme good enough, thats why im asking here.
8 replies
SIASapphire - Imagine a framework
•Created by chillihero on 7/15/2023 in #discordjs-support
Cant resolve zlib-sync
53 replies
SIASapphire - Imagine a framework
•Created by chillihero on 7/13/2023 in #sapphire-support
Issue when running mutiple bot instances on the same redis db with the scheduler plugin
5 replies
SIASapphire - Imagine a framework
•Created by chillihero on 7/10/2023 in #discordjs-support
"Failed to find guild, or unknown type for channel" even when not using channel.add()
10 replies
SIASapphire - Imagine a framework
•Created by chillihero on 6/30/2023 in #sapphire-support
When do I need the runIn Option?
Do I also need it when creating only slash commands?
5 replies
SIASapphire - Imagine a framework
•Created by chillihero on 5/26/2023 in #sapphire-support
Property 'run' in type 'ScheduledTaskErrorEvent' is not assignable to the same property in base type
The Logs I get from this error.
Any idea how I can solve this?
The code:
5 replies
SIASapphire - Imagine a framework
•Created by chillihero on 4/6/2023 in #sapphire-support
Whats the difference between the different imports?
12 replies
SIASapphire - Imagine a framework
•Created by chillihero on 3/31/2023 in #sapphire-support
How to get infos about the current task?
I want to log things like taskid etc. what infos are there to work with and how do I get them inside of my task?
4 replies
SIASapphire - Imagine a framework
•Created by chillihero on 3/17/2023 in #discordjs-support
How big is the difference between xyz.cache.get() and await xzy.fetch()?
fetch returns the cached thing aswell if it exists, so except the Promise difference i see not really a problem with using await fetch all the time. Is this consider bad practise? & How big is the difference time & performancewise?
11 replies
SIASapphire - Imagine a framework
•Created by chillihero on 3/11/2023 in #sapphire-support
What is the difference between response.status and response.statusCode ?
6 replies
SIASapphire - Imagine a framework
•Created by chillihero on 3/9/2023 in #sapphire-support
BotList Autopost of stats is not working
4 replies
SIASapphire - Imagine a framework
•Created by chillihero on 3/6/2023 in #sapphire-support
GuildDelete Event somehow gets triggered when I restart my Bot
11 replies
SIASapphire - Imagine a framework
•Created by chillihero on 3/1/2023 in #sapphire-support
How can I turn a joinedTimestamp into this Discord Timestamp
The one that automatically shows you like how long ago this timestamp was
20 replies
SIASapphire - Imagine a framework
•Created by chillihero on 2/27/2023 in #sapphire-support
Whats the syntax to require Permission X AND Y OR Z when using requiredUserPermissions
when using
requiredUserPermissions
. Its an array so Im not sure17 replies
SIASapphire - Imagine a framework
•Created by chillihero on 2/24/2023 in #sapphire-support
How to check if the bot has Permission X inside of the server? For example VIEW_AUDIT_LOG
In a listener
10 replies
SIASapphire - Imagine a framework
•Created by chillihero on 2/24/2023 in #sapphire-support
What parameter do I pass to the run method in my GuildCreate listener?
4 replies
SIASapphire - Imagine a framework
•Created by chillihero on 2/18/2023 in #sapphire-support
Schdeduler SQS Options in index.ts
Where can I find what options I have to pass for the SQS Version of the Scheduled Task? I cant seem to find it in the guide
25 replies