Skip to content

Commit

Permalink
v12.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amishshah committed Mar 1, 2020
1 parent d7c5baf commit 3142d8c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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,
Expand Down
8 changes: 4 additions & 4 deletions test/disableMentions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
4 changes: 3 additions & 1 deletion test/sharder.js
Original file line number Diff line number Diff line change
@@ -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 });

Expand Down

0 comments on commit 3142d8c

Please sign in to comment.