MrBeast
SIASapphire - Imagine a framework
•Created by MrBeast on 8/3/2023 in #sapphire-support
Easy way to add per command permissions/restrictions
Is there an easy way to add a restriction for any command so that it can only be ran by a member with a specific role or in a specific channel. i know you have to integrate it into your database but what the easiest way to set this up. ive been trying to set this up with a precondition for all commands where it checks the command name and checks the database to see if there are any restrictions in place
16 replies
SIASapphire - Imagine a framework
•Created by MrBeast on 5/6/2023 in #sapphire-support
Augmenting detailed description
I am trying to create a help command and i saw this in the docs
https://www.sapphirejs.dev/docs/Guide/commands/command-options#detaileddescription
But in my help command im not able to read the properties in the help command
8 replies
SIASapphire - Imagine a framework
•Created by MrBeast on 4/25/2023 in #sapphire-support
Recurring Task
Is there anyway i can get my bot to run a task every 10 seconds or so to check if a giveaway is over by querying my mongodb
29 replies