Manually runnable scripts

Is there a way to simply make a script which does not correspond to a command nor an event, which you just run manually ? (For example if I just want to send a special message manually once)
2 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
RAH3RI
RAH3RIOP2y ago
like a deployment script, simply run it from my computer's terminal Sorry for not being clear enough, what I want is to simply have a message with buttons for role attribution, I thought I could simply have the bot sent it but I don't know if it is the best way I feel kinda dumb rn, I don't understand how I'm supposed to just put this in the bot's code, I mean I have command and event scripts so where should I put that ? One time (or when I edit roles and want to add / remove buttons) is RoleSelectMenu the "Channels & roles" feature ? Well I had no clue this was a thing thanks for that and so what would be the best practice here ? up ? I'll do that, thank you for taking the time to help !
Want results from more Discord servers?
Add your server