FAQs
Answers to frequently asked questions :)

FAQ 1:

Question
Answer
Q: Is music possible in DB-Script?
A: Yes! You can check out music here!

FAQ 2:

Question
Answer
How do I set up my commands in folders/files?
Refer to the Command Handler guide to figure out how to set up a command handler and have your commands separated in files.

FAQ 3:

Question
Answer
How do I set my bots status?
Refer to the bot.Status function page to figure out how to set up your bots status

FAQ 4:

Question
Answer
Can I put bot.variables, bot.Status, bot.AwaitedCommands, bot.SpaceCommands ,bot.ExecutableCommands ,Functions or Events in folders?
No, currently only your average command can go in folders in form for module.exports. All the other bot information like variables, bot status etc. must stay in your main file.

FAQ 5:

Question
Answer
Can I make aliases for my bot commands?
Yes you can! Refer to the Aliases guide for information of how to add aliases to your bot commands

FAQ 6:

Question
Answer
Is this BDFD? Is this the BDFD support server? Is this anything about BDFD?
NO! We are not in any way affiliated with Bot Designer for Discord. We share some similar characteristics as far as how the functions look but the difference is, the discordbot-script npm package and is by far nowhere near similar to BDFD.

FAQ 7:

Question
Answer
Can I get some help with glitch.com / repl.it / heroku.com?
No, sorry but we do not support issues relating to anything other than our own package. Those websites and hosting platforms have their own support team. Please go ask them.

FAQ 8:

Question
Answer
I have made my command code perfectly but it's not executing the way I want it. What am I doing wrong?
Keep in mind, the package interpreter reads each command code from bottom to top. This means that the functions at the bottom of your command code will be executed first and the functions at the top of the command code will be the last thing that's executed. Make sure you are ordering your functions strings correctly in your command for the results you are looking for.

FAQ 9:

Question
Answer
Why is my name hosting/unmentionable? How can I get my name back?
You have this nickname because your username was hoisted or it had symbols that is hard to mention, you can get your name back by using @Nick Bot#5282 in the #bots channel of our support server

FAQ 10:

Question
Answer
What's the $replyIn time limit?
$replyIn has a time limit of 25 days or until you reboot the server/bot

FAQ 11:

Question
Answer
Where can I see each function to use them?
There's 2 ways to getting information about the functions! You can use the bot DB-Script Official#2670 in the #bot-commands channel of our support server. Use .help for more info. You can also use our official gitbook documentation right here which is much more informational, take a look around! The Support Team is also ready to help!

FAQ 12:

Question
Answer
Is DB-Script Official#3884 made in discordbot-script?
Yes, yes it is :)

FAQ 13:

Question
Answer
Where can I see all the functions and usages of the functions for the npm package?
All our official documentation is right here on our gitbook https://docs.db-script.xyz

FAQ 14:

Question
Answer
My welcome code isn't working but isn't showing any errors.
Be sure your Gateway is completely open with Presence Intent and Server Members Intent turned on in the bot tab of the dev portal for onJoined and onLeave events to fire as intended. This has became mandatory by Discord since Oct 7th, 2020 as the new terms for the Gateway privelges. images by kai: - https://eva.wheres-my-ta.co/6bsox5 - https://eva.wheres-my-ta.co/H7xEdt

FAQ 15:

Question
Answer
My code is perfect but why is my bot doing nothing when users join and leave the server?
Discord altered thier TOS on Oct 7th, 2020 and when dealing with functions like $ownerID, bot.JoinedCommand, bot.LeaveCommand, $status, $activity and many other events/functions that require this turned on, your bot needs permission for the new Gateway Intents privileges before the bot can fire these events. I highly recommend everyone to read more about it because we all have to abide by it. - https://discord.com/developers/docs/topics/gateway#gateway-intents - https://discord.com/developers/applications/

FAQ 16:

Question
Answer
What is maximum of messages i can purge with $clear? And Can i use multiple $clear functions in one command?
You cannot have more then 1 $clear function in your command, and the limit is 100 messages, so you can purge max 99 messages.

FAQ 17:

Question
Answer
I just tried a function from the new update, But it didn't work. Why?
Please make sure your bot is updated to the latest version. New Functions wont register on older versions. Now, if you are updated, make sure you're using the function correctly. The documentation will always help in that matter!
Don't forget to join our discord server!
Last modified 4mo ago