Update to Knub 17.0.1, remove all d.nonBlocking() calls

This commit is contained in:
Dragory 2019-02-17 15:19:55 +02:00
parent 4b6437c4ae
commit ed3760313f
12 changed files with 38 additions and 65 deletions

View file

@ -459,7 +459,6 @@ export class UtilityPlugin extends ZeppelinPlugin {
@d.command("ping")
@d.permission("ping")
@d.nonBlocking()
async pingCmd(msg: Message) {
const times = [];
const messages: Message[] = [];
@ -496,7 +495,6 @@ export class UtilityPlugin extends ZeppelinPlugin {
@d.command("source", "<messageId:string>")
@d.permission("source")
@d.nonBlocking()
async sourceCmd(msg: Message, args: { messageId: string }) {
const savedMessage = await this.savedMessages.find(args.messageId);
if (!savedMessage) {