mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 19:20:42 +00:00
v12.0.0
This commit is contained in:
parent
d7c5baf7f3
commit
3142d8cf18
3 changed files with 11 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "discord.js",
|
"name": "discord.js",
|
||||||
"version": "12.0.0-dev",
|
"version": "12.0.0",
|
||||||
"description": "A powerful library for interacting with the Discord API",
|
"description": "A powerful library for interacting with the Discord API",
|
||||||
"main": "./src/index",
|
"main": "./src/index",
|
||||||
"types": "./typings/index.d.ts",
|
"types": "./typings/index.d.ts",
|
||||||
|
|
@ -141,7 +141,9 @@
|
||||||
"*.ts": "prettier --write --single-quote --print-width 120 --trailing-comma all --end-of-line lf"
|
"*.ts": "prettier --write --single-quote --print-width 120 --trailing-comma all --end-of-line lf"
|
||||||
},
|
},
|
||||||
"commitlint": {
|
"commitlint": {
|
||||||
"extends": ["@commitlint/config-angular"],
|
"extends": [
|
||||||
|
"@commitlint/config-angular"
|
||||||
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"type-enum": [
|
"type-enum": [
|
||||||
2,
|
2,
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,10 @@ const Discord = require('../src');
|
||||||
const { Util } = Discord;
|
const { Util } = Discord;
|
||||||
|
|
||||||
const client = new Discord.Client({
|
const client = new Discord.Client({
|
||||||
// To see a difference, comment out disableMentions and run the same tests using disableEveryone
|
// To see a difference, comment out disableMentions and run the same tests using disableEveryone
|
||||||
// You will notice that all messages will mention @everyone
|
// You will notice that all messages will mention @everyone
|
||||||
//disableEveryone: true
|
// disableEveryone: true
|
||||||
disableMentions: 'everyone'
|
disableMentions: 'everyone',
|
||||||
});
|
});
|
||||||
|
|
||||||
const tests = [
|
const tests = [
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
const Discord = require('../');
|
'use strict';
|
||||||
|
|
||||||
const { token } = require('./auth');
|
const { token } = require('./auth');
|
||||||
|
const Discord = require('../');
|
||||||
|
|
||||||
const sharder = new Discord.ShardingManager(`${process.cwd()}/test/shard.js`, { token, respawn: false });
|
const sharder = new Discord.ShardingManager(`${process.cwd()}/test/shard.js`, { token, respawn: false });
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue