pyraxo / sylphy

👑 the better discord bot framework
GNU Affero General Public License v3.0
95 stars 24 forks source link

adminOnly dont work :/ #23

Closed p4rkrs closed 7 years ago

p4rkrs commented 7 years ago

Hey,

the option adminOnly dont work. I set my ID (and urs xd) into the ADMIN_IDS env. But still dont respond. is like the option dont reconize the ID.

Thanks

pyraxo commented 7 years ago

the framework doesn't use .env to get its configuration values, only the options object which you supply when you do new Client()

to supply it with admin IDs, you should add admins: [array of admin IDs] in your new Client constructor

see docs