*/ public static function getValidations() { return [ 'bot_token' => 'nullable|string', 'client_id' => 'nullable|string', 'client_secret' => 'nullable|string', 'guild_id' => 'nullable|string', 'invite_url' => 'nullable|string|url', 'role_id' => 'nullable|string', ]; } /** * Summary of optionInputData array * Only used for the settings page * @return array>> */ public static function getOptionInputData() { return [ 'category_icon' => 'fas fa-user-friends', 'bot_token' => [ 'label' => 'Bot Token', 'type' => 'string', 'description' => 'The bot token for your Discord bot.', ], 'client_id' => [ 'label' => 'Client ID', 'type' => 'string', 'description' => 'The client ID for your Discord bot.', ], 'client_secret' => [ 'label' => 'Client Secret', 'type' => 'string', 'description' => 'The client secret for your Discord bot.', ], 'guild_id' => [ 'label' => 'Guild ID', 'type' => 'string', 'description' => 'The guild ID for your Discord server.', ], 'invite_url' => [ 'label' => 'Invite URL', 'type' => 'string', 'description' => 'The invite URL for your Discord server.', ], 'role_id' => [ 'label' => 'Role ID', 'type' => 'string', 'description' => 'The role ID for your Discord server.', ], ]; } }