Commit graph

14 commits

Author SHA1 Message Date
Ralph
328365a492
Removed Duplicate Code
During last Master Branch Merge, Lots of Dupe code was added for some reason. Thought it was all removed, but I guess I missed some.
2018-04-02 16:54:46 -04:00
Ralph
0d2d2dc270
Changed var to let 2018-04-02 16:34:55 -04:00
Ralph
ba9f3de3d6
Update rolesetter.js 2018-03-30 17:54:56 -04:00
Ralph
7a6a9bf748
Added Base Role Functionality 2018-03-30 17:51:54 -04:00
Niko Storni
f3dc3c0356
armonize prettier config with tipbot 2018-03-28 18:33:15 -04:00
Ralph
4a4962755e
Added Checks, Comments and Cleanup
I've added a check to see if a role exists in the Discord server. I've also Commented all of my checks, and I've run the precommit to normalize the code a bit.
2018-01-18 12:58:35 -05:00
MSFTserver
3783fc994b
fix usage as we specify it in description 2017-12-22 23:13:25 -08:00
MSFTserver
97b730f3ba
add command descriptions for !help 2017-12-22 23:11:31 -08:00
Niko Storni
d31f839039 formatted code 2017-12-20 00:28:28 +01:00
Ralph
60c2498147
Added another catch
I have added a parent if statement to check if someone runs the !addrole or !delrole command without a suffix.
2017-11-22 17:22:12 -05:00
Fillerino
6ce8aade5b Fixed formating and added prettier to pre-commit.
Fixed the formatting, added prettier to auto run on pre-commit.
2017-11-07 18:25:05 +01:00
Ralph
f88415edb9
Updates
Cleaned up the code, fixed the if function for checking if a role is "Allowed". Created an embed for the !roles command to show the allowed roles people can add.
2017-10-27 15:54:31 -04:00
Ralph
8a230f1639 Changed var to let 2017-10-27 09:53:11 -04:00
Ralph
a99d91b04c Create rolesetter.js
This module adds the ability to add/remove roles, as well as list the "allowed" Roles that the bot can add and remove.
2017-10-27 01:19:43 -04:00