cloud
cloud
DIAdiscord.js - Imagine an app
Created by cloud on 4/16/2024 in #djs-questions
Is it possible to use an older version
Hey, I ran a couple Discord bots on 12 and 13, and then let them die like a year and a half ago. I recently got back in to JS and figured I'd make a gimmick bot for my server. Considering message.send doesn't exist anymore, is there any way to still make your bot use text based commands/listen for messages? Can I run v12 or 13 still?
6 replies
DIAdiscord.js - Imagine an app
Created by cloud on 2/22/2024 in #djs-questions
tracking first button press to do separate actions
hi, I'm trying to complete a util where: - all members in guild have "all channels" role - embed with 5 buttons to remove access to corresponding channels - upon pressing any of the 5 buttons, "all channels" role will be removed, and the other 4 roles apart from the button pressed will be granted, removing access from the channel button pressed. - pressing any of the other 4 buttons will remove corresponding roles. - pressing a second time/disactivating the 5th button will remove the 5 roles and grant the "all channels" role Its pretty easy to make just button grant role or button remove role, but I'm not sure how to bind these actions. Some advice or suggestions would be very helpful.
3 replies