Somebody
DIAdiscord.js - Imagine an app
•Created by Somebody on 2/23/2024 in #djs-questions
Setting different commands for different types of servers.
Hello there, so i have a few server types.
the user must /register before being able to see all the commands.
Seperate kinds of servers should have seperate set of commands, and they should not be able to see each other's commands.
for example (if you didnt understand) :
- A server adds my bot.
- They should initially only be able to see the /register command, and should not be able to see any other commands until they register.
- They can register the type of server. for example: government server / mafia server
- Government can only see gov related commands
- mafia can see mafia related commands etc..
how do i make it update commands conditionally?
25 replies
DIAdiscord.js - Imagine an app
•Created by Somebody on 2/16/2024 in #djs-questions
how to make bot handle external embed
How to handle embed created by external app?
- I wish to send an embed on behalf of the bot, thru my custom game (with btn components etc).
- I want my bot client to be able to handle those responses.
how do i do that?
basically: create embed from game, handle it thru bot
38 replies