Split pages and commands into editable modules

This commit is contained in:
2026-07-27 09:44:56 +09:00
parent ae0f6bc970
commit eac572dcaf
18 changed files with 112 additions and 37 deletions
+2
View File
@@ -0,0 +1,2 @@
export const name = 'announce'; export const description = 'Broadcast an announcement'; export const admin = true;
export function run({ arg, api }) { if (!arg) return 'Usage: announce <message>'; api.broadcast(`OWNER: ${arg}`); api.sendNotification(`OWNER: ${arg}`); return 'Announcement sent.'; }