Professor-Redwood-Team / Professor-Redwood

Pokemon Go Discord Bot
MIT License
34 stars 21 forks source link

Create roles and channels during startup #30

Closed fmoo closed 5 years ago

fmoo commented 7 years ago

Adds a new file, src/init.js that handles initializing the backend using various calls to guild.createChannel(), guild.createRole(), and channel.overwritePermissions()

(also, apologies for spamming the related issue thread. Didn't realize flattening and pushing stupid syntax fixes to my fork would create a notification for each version of the rev)

kc135576 commented 5 years ago

Was thinking of having something like this at some point. I'll try to test this in the near future and merge it if it looks good.