secre
Explore posts from serversRNARuby - Not A Framework
•Created by axel on 3/31/2025 in #ruby-not-support
filtering custom id via name
you need to check for customId of interaction, I don't think there are the other way to do that
9 replies
RNARuby - Not A Framework
•Created by čamdžić on 3/21/2025 in #ruby-not-support
application commands
itsn't it showing which commands was registered as guild commands?
10 replies
RNARuby - Not A Framework
•Created by Tasemu on 3/10/2025 in #ruby-not-support
Command option - Array of users
something like that
7 replies
RNARuby - Not A Framework
•Created by Tasemu on 3/10/2025 in #ruby-not-support
Command option - Array of users
/loot-split create users: 432894328494 @shysecre 438294248 @anotherMention
7 replies
RNARuby - Not A Framework
•Created by Tasemu on 3/10/2025 in #ruby-not-support
Command option - Array of users
@Tasemu You can use "string" option, and then parse that string and get users from it. Users could then use classic mentions or ids
7 replies
RNARuby - Not A Framework
•Created by secre on 3/5/2025 in #ruby-not-support
Interaction Handlers & "Button is not for you" response
I see, thanks for your reply!
5 replies
RNARuby - Not A Framework
•Created by delios on 11/15/2024 in #ruby-not-support
Constantly getting "The application did not respond"
Or you can just use
PermissionFlagsBits
from discord.js
const to get it. Way more reliable
member?.permissions.has(PermissionFlagsBits.Administrator)
like this41 replies
RNARuby - Not A Framework
•Created by TweenkySuwaru on 10/15/2024 in #ruby-not-support
Subcommand in Direct Messages even with guildIds option
probably will add lint to project, would be great in the distance to not make stupid mistakes like this :derp:
thanks for help and your time I guess. Pretty awkward to ask someone to help and found out that issue was because of a single comma :WAHHHHHHHHHHHHH:
54 replies
RNARuby - Not A Framework
•Created by TweenkySuwaru on 10/15/2024 in #ruby-not-support
Subcommand in Direct Messages even with guildIds option
I see yes. And it also occurs in my snipper. I probably should fix that in all commands :||| I wonder why TS gives no error about this comma
54 replies
RNARuby - Not A Framework
•Created by TweenkySuwaru on 10/15/2024 in #ruby-not-support
Subcommand in Direct Messages even with guildIds option
I can't because sometimes I need commands that users can use in dms too. As ticket command (i don't know why I even include it in repro sample, my bad)
54 replies
RNARuby - Not A Framework
•Created by TweenkySuwaru on 10/15/2024 in #ruby-not-support
Subcommand in Direct Messages even with guildIds option
it's kinda interesting because I created snippet for commands at the start and used it for all others. I wanna check if others commands have the same issue
54 replies
RNARuby - Not A Framework
•Created by TweenkySuwaru on 10/15/2024 in #ruby-not-support
Subcommand in Direct Messages even with guildIds option
54 replies
RNARuby - Not A Framework
•Created by TweenkySuwaru on 10/15/2024 in #ruby-not-support
Subcommand in Direct Messages even with guildIds option
Yes. You can check that in this file
54 replies
RNARuby - Not A Framework
•Created by TweenkySuwaru on 10/15/2024 in #ruby-not-support
Subcommand in Direct Messages even with guildIds option

54 replies
RNARuby - Not A Framework
•Created by TweenkySuwaru on 10/15/2024 in #ruby-not-support
Subcommand in Direct Messages even with guildIds option
54 replies
RNARuby - Not A Framework
•Created by TweenkySuwaru on 10/15/2024 in #ruby-not-support
Subcommand in Direct Messages even with guildIds option
It's loading tokens so I guess guildId works too... But yeah sure, give me a sec
54 replies
RNARuby - Not A Framework
•Created by TweenkySuwaru on 10/15/2024 in #ruby-not-support
Subcommand in Direct Messages even with guildIds option
54 replies
RNARuby - Not A Framework
•Created by TweenkySuwaru on 10/15/2024 in #ruby-not-support
Subcommand in Direct Messages even with guildIds option
Done! Repo: https://github.com/shysecre/test-sample-sapphire
1. Clone.
pnpm install
in main directory. pnpm
because I use workspaces by pnpm. I dont know if other package managers will work :Shruge:
2. Fill in dev config in config/dev.json
with tokens & guild id
3. Maybe check out redis settings if they will overlap with yours. I use docker-compose
4. pnpm build
, pnpm start:devmod
Also I have a .tasks
for vscode so you can easily start "watch" for all packages. Ctrl + Shift + P
-> Run Tasks
-> watch:all
and then if restart is needed pnpm start:devmod
I guess that's all :eeeh: Also I removed .setContexts
for commands in yume-bot
. And this commands still registering globally.
setup
function can be found in packages/common/src/util/setup.ts
In packages
folder I also have sapphire-utilities stuff where I register shared preconditions, listeners, utilities among all bots. I dont think that will somehow effect commands, but yeah54 replies
RNARuby - Not A Framework
•Created by TweenkySuwaru on 10/15/2024 in #ruby-not-support
Subcommand in Direct Messages even with guildIds option
Writing from my main acc.
Currently working on creating repro sample. I read in #cant declare container items that you need to include some stuff in
.npmrc
config for sapphire to work properly when using pnpm
. On my main repo I don't get those errors about packages not found when declaring stuff. But now when I'm creating sample I got one error. Could it be potential problem why commands registering weird? :hmmm:54 replies
RNARuby - Not A Framework
•Created by Wenwen on 10/25/2024 in #ruby-not-support
New component under a PaginatedMessage
:okie:
9 replies