From 3142d8cf18acc9b995d98c6ff2eabc1ead799087 Mon Sep 17 00:00:00 2001 From: Amish Shah Date: Sun, 1 Mar 2020 18:01:39 +0000 Subject: [PATCH] v12.0.0 --- package.json | 6 ++++-- test/disableMentions.js | 8 ++++---- test/sharder.js | 4 +++- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 99e611325cbb..f6d32957aedd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "discord.js", - "version": "12.0.0-dev", + "version": "12.0.0", "description": "A powerful library for interacting with the Discord API", "main": "./src/index", "types": "./typings/index.d.ts", @@ -141,7 +141,9 @@ "*.ts": "prettier --write --single-quote --print-width 120 --trailing-comma all --end-of-line lf" }, "commitlint": { - "extends": ["@commitlint/config-angular"], + "extends": [ + "@commitlint/config-angular" + ], "rules": { "type-enum": [ 2, diff --git a/test/disableMentions.js b/test/disableMentions.js index 428d605e07bd..97077e20e672 100644 --- a/test/disableMentions.js +++ b/test/disableMentions.js @@ -5,10 +5,10 @@ const Discord = require('../src'); const { Util } = Discord; const client = new Discord.Client({ - // To see a difference, comment out disableMentions and run the same tests using disableEveryone - // You will notice that all messages will mention @everyone - //disableEveryone: true - disableMentions: 'everyone' + // To see a difference, comment out disableMentions and run the same tests using disableEveryone + // You will notice that all messages will mention @everyone + // disableEveryone: true + disableMentions: 'everyone', }); const tests = [ diff --git a/test/sharder.js b/test/sharder.js index e130128d0707..195b14bd9da7 100644 --- a/test/sharder.js +++ b/test/sharder.js @@ -1,5 +1,7 @@ -const Discord = require('../'); +'use strict'; + const { token } = require('./auth'); +const Discord = require('../'); const sharder = new Discord.ShardingManager(`${process.cwd()}/test/shard.js`, { token, respawn: false });