-
-
Notifications
You must be signed in to change notification settings - Fork 0
Application command example
Enriko 'HybridMind' Todorov edited this page Jun 8, 2023
·
1 revision
Application command structures
Example command:
const { } = require('discord.js');
module.exports = {
command_data: {
name: String,
description: String,
type: Number,
options: Array[Object],
},
role_perms: Array[String],
developers_only: Boolean,
owner_only: Boolean,
cooldown: String,
logger: Boolean,
category: String,
run: function (...args) { }
};
[MIT], © 2023 HybridMind