Browse Source
I changed my mind, we're going back to promises
I changed my mind, we're going back to promises
Require command invoke methods to return a promisemaster

8 changed files with 47 additions and 51 deletions
-
20app/commands.json
-
34app/commands/add-feed.js
-
4app/commands/remove-feed.js
-
4app/commands/view-feeds.js
-
8app/index.js
-
5app/models/guild-data.js
-
7discord-bot-core/Client.js
-
16discord-bot-core/HandleMessage.js
@ -1,20 +0,0 @@ |
|||
{ |
|||
"addFeed": { |
|||
"command": "add-feed", |
|||
"description": "Add an RSS feed to be posted in a channel, with an optional role to tag", |
|||
"syntax": "add-feed <url> <#channel> [@role]", |
|||
"admin": true |
|||
}, |
|||
"removeFeed": { |
|||
"command": "remove-feed", |
|||
"description": "Remove an RSS feed by it's ID", |
|||
"syntax": "remove-feed <id>", |
|||
"admin": true |
|||
}, |
|||
"viewFeeds": { |
|||
"command": "view-feeds", |
|||
"description": "View a list of configured feeds and their associated details", |
|||
"syntax": "view-feed", |
|||
"admin": true |
|||
} |
|||
} |
Write
Preview
Loading…
Cancel
Save
issues.context.reference_issue