hytescript.js
Version:
A package for programming anything you want with ease.
16 lines (15 loc) • 461 B
JavaScript
const { getProperty } = require("../../utils/utils");
module.exports = {
description: 'Returns a property from the client.',
usage: 'property?',
parameters: [
{
name: 'Property',
description: 'The property to get from client.',
optional: 'true',
defaultValue: ','
}
],
run: async (d, property = 'id') => {
return getProperty('client', d.client, property)
}}