mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-17 15:15:02 +00:00
Update to Knub 17.0.1, remove all d.nonBlocking() calls
This commit is contained in:
parent
7a13d04455
commit
9c099d5541
12 changed files with 38 additions and 65 deletions
|
@ -59,7 +59,6 @@ export class StarboardPlugin extends ZeppelinPlugin {
|
|||
*/
|
||||
@d.command("starboard create")
|
||||
@d.permission("manage")
|
||||
@d.nonBlocking()
|
||||
async setupCmd(msg: Message) {
|
||||
const cancelMsg = () => msg.channel.createMessage("Cancelled");
|
||||
|
||||
|
@ -330,7 +329,6 @@ export class StarboardPlugin extends ZeppelinPlugin {
|
|||
}
|
||||
|
||||
@d.command("starboard migrate_pins", "<pinChannelId:channelId> <starboardChannelId:channelId>")
|
||||
@d.nonBlocking()
|
||||
async migratePinsCmd(msg: Message, args: { pinChannelId: string; starboardChannelId }) {
|
||||
const starboard = await this.starboards.getStarboardByChannelId(args.starboardChannelId);
|
||||
if (!starboard) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue