@getsolara/solara.js
Version:
A lightweight and modular Discord bot framework built on discord.js v14, with truly optional feature packages.
8 lines • 392 B
JavaScript
module.exports = {
name: "$auditLogReason", description: "Sets the reason for the next audit log action in this execution context. Args: reasonText", takesBrackets: true,
execute: async (context, args) => {
if (!args[0]) return "[Error: $auditLogReason requires reason text]";
context.auditLogReason = args.join(';'); // Store reason
return "";
}
};