UNPKG

hytescript.js

Version:

A package for programming anything you want with ease.

10 lines (9 loc) 288 B
module.exports = { description: 'Returns ban reason. Exclusive for guildBan event.', usage: '', parameters: [], run: async (d) => { if (d.eventType != 'guildBan') return new d.error('notAllowed', d, 'guildBan event.') return d.ban.reason } };