1.0.0 • Published 4 years ago

discordjs-con-self v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

This is the fork of the discord.js package with the support of user accounts (in discord.js that support was removed with the version 12).

I don't take any responsibility for blocked Discord accounts that used this module.

Using this on a user account is prohibited by the Discord TOS and can lead to the account block.

i made a fork of the zziger djs-selfbot to fix some errors, like catch and add some functions

Table of contents

About

discord.js is a powerful Node.js module that allows you to easily interact with the Discord API.

  • Object-oriented
  • Predictable abstractions
  • Performant
  • 100% coverage of the Discord API

Installation

Node.js 12.0.0 or newer is required.
Ignore any warnings about unmet peer dependencies, as they're all optional.

Without voice support: npm install discord.js
With voice support (@discordjs/opus): npm install discord.js @discordjs/opus
With voice support (opusscript): npm install discord.js opusscript

Audio engines

The preferred audio engine is @discordjs/opus, as it performs significantly better than opusscript. When both are available, discord.js will automatically choose @discordjs/opus. Using opusscript is only recommended for development environments where @discordjs/opus is tough to get working. For production bots, using @discordjs/opus should be considered a necessity, especially if they're going to be running on multiple servers.

Optional packages

  • zlib-sync for WebSocket data compression and inflation (npm install zlib-sync)
  • erlpack for significantly faster WebSocket data (de)serialisation (npm install discordapp/erlpack)
  • One of the following packages can be installed for faster voice packet encryption and decryption:
  • bufferutil for a much faster WebSocket connection (npm install bufferutil)
  • utf-8-validate in combination with bufferutil for much faster WebSocket processing (npm install utf-8-validate)

Example usage

const Discord = require('discord.js');
const client = new Discord.Client();

client.on('ready', () => {
  console.log(`Logged in as ${client.user.tag}!`);
});

client.on('message', msg => {
  if (msg.content === 'ping') {
    msg.reply('pong');
  }
});

client.login('token');

Links

Extensions

Contributing

Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the documentation.
See the contribution guide if you'd like to submit a PR.

Help

If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official Discord.js Server.

JSONStreamabababort-controlleracornacorn-globalsacorn-jsxacorn-walkaggregate-errorajvajv-errorsajv-keywordsansi-alignansi-colorsansi-escape-sequencesansi-escapesansi-regexansi-stylesany-observableanymatchaprobaare-we-there-yetargparsearr-diffarr-flattenarr-unionarray-backarray-equalarray-find-indexarray-ifyarray-includesarray-unionarray-uniqarray-uniquearray.prototype.flatarrifyasn1asn1.jsassertassert-plusassign-symbolsastral-regexasync-eachasync-exit-hookasynckitatobaws-sign2aws4babel-code-framebabel-jestbabel-plugin-istanbulbabel-plugin-jest-hoistbabel-polyfillbabel-preset-current-node-syntaxbabel-preset-jestbabel-runtimebalanced-matchbasebase64-jsbcrypt-pbkdfbig.jsbinary-extensionsblblock-streambluebirdbn.jsboxenbrace-expansionbracesbrorandbrowser-process-hrtimebrowser-resolvebrowserify-aesbrowserify-cipherbrowserify-desbrowserify-rsabrowserify-signbrowserify-zlibbserbufferbuffer-allocbuffer-alloc-unsafebuffer-fillbuffer-frombuffer-xorbuiltin-modulesbuiltin-status-codesbuiltinscacachecache-basecache-pointcacheable-lookupcacheable-requestcaller-callsitecaller-pathcallsitescamelcasecamelcase-keyscapture-exitcaselesscatharsischalkchardetcharmchokidarchownrchrome-trace-eventci-infocipher-baseclass-utilsclean-stackcli-boxescli-cursorcli-truncatecli-widthcliuiclone-responsecocode-point-atcollect-allcollect-v8-coveragecollection-visitcolor-convertcolor-namecombined-streamcommand-existscommand-line-argscommand-line-toolcommand-line-usagecommandercommon-sequencecommondircompare-funccompare-versionscomponent-emitterconcat-mapconcat-streamconfig-masterconfigstoreconsole-browserifyconsole-control-stringsconstants-browserifycontains-pathconventional-changelog-angularconventional-commits-parserconvert-source-mapcopy-concurrentlycopy-descriptorcore-js-purecore-util-iscosmiconfigcreate-ecdhcreate-hashcreate-hmaccross-envcross-spawncrypto-browserifycrypto-random-stringcssomcssstylecurrently-unhandledcyclistdargsdashdashdata-urlsdate-fnsdebugdecamelizedecamelize-keysdecode-uri-componentdecompress-responsededentdeep-extenddeep-isdeepmergedefer-to-connectdefine-propertiesdefine-propertydeldelayed-streamdelegatesdes.jsdetect-filedetect-newlinediffdiff-sequencesdiffie-hellmandmddoctrinedomain-browserdomexceptiondot-propdts-criticdtslintduplexer3duplexifyecc-jsbnelegant-spinnerellipticemoji-regexemojis-listend-of-streamenhanced-resolveenquirerentitieserrnoerror-exes-abstractes-to-primitiveescape-goatescape-string-regexpescodegeneslinteslint-config-prettiereslint-import-resolver-nodeeslint-module-utilseslint-plugin-importeslint-plugin-prettiereslint-scopeeslint-utilseslint-visitor-keysespreeesprimaesqueryesrecurseestraverseesutilsevent-target-shimeventsevp_bytestokeyexec-shexecaexitexpand-bracketsexpand-tildeexpectexpressextendextend-shallowexternal-editorextglobextsprintffast-deep-equalfast-difffast-json-stable-stringifyfast-levenshteinfb-watchmanfiggy-puddingfiguresfile-entry-cachefile-setfill-rangefind-cache-dirfind-replacefind-upfind-versionsfindup-syncflat-cacheflattedflush-write-streamfor-inforever-agentform-datafragment-cachefrom2fs-constantsfs-extrafs-then-nativefs-write-stream-atomicfs.realpathfstreamfunction-bindfunctional-red-black-treegaugegensyncget-caller-fileget-own-enumerable-property-symbolsget-package-typeget-stdinget-streamget-valuegetpassgit-raw-commitsgithub-url-from-gitglobglob-parentglobal-dirsglobal-modulesglobal-prefixglobalsglobbygotgraceful-fsgrowlyhandlebarshar-schemahar-validatorhard-rejectionhashas-ansihas-flaghas-symbolshas-unicodehas-valuehas-valueshas-yarnhash-basehash.jshmac-drbghomedir-polyfillhosted-git-infohtml-encoding-snifferhtml-escaperhttp-cache-semanticshttp-signaturehttps-browserifyhuman-signalshuskyiconv-liteieee754iferrignoreimport-freshimport-lazyimport-localimurmurhashindent-stringinfer-ownerinflightinheritsiniinquirerinquirer-autosubmit-promptinterpretip-regexis-accessor-descriptoris-arrayishis-binary-pathis-bufferis-callableis-ciis-data-descriptoris-date-objectis-descriptoris-directoryis-dockeris-extendableis-extglobis-fullwidth-code-pointis-generator-fnis-globis-installed-globallyis-npmis-numberis-objis-observableis-path-cwdis-path-in-cwdis-path-insideis-plain-objis-plain-objectis-promiseis-regexis-regexpis-scopedis-streamis-stringis-symbolis-text-pathis-typedarrayis-url-superbis-windowsis-wslis-yarn-globalisarrayisexeisobjectisstreamissue-regexistanbul-lib-coverageistanbul-lib-instrumentistanbul-lib-reportistanbul-lib-source-mapsistanbul-reportsjestjest-changed-filesjest-configjest-diffjest-docblockjest-eachjest-environment-jsdomjest-environment-nodejest-get-typejest-haste-mapjest-jasmine2jest-leak-detectorjest-matcher-utilsjest-message-utiljest-mockjest-pnp-resolverjest-regex-utiljest-resolvejest-resolve-dependenciesjest-runnerjest-runtimejest-serializerjest-snapshotjest-utiljest-validatejest-watcherjest-workerjs-tokensjs-yamljs2xmlparserjsbnjsdocjsdoc-apijsdoc-parsejsdoc-to-markdownjsdomjsescjson-bufferjson-filter-loaderjson-parse-better-errorsjson-schemajson-schema-traversejson-stable-stringifyjson-stable-stringify-without-jsonifyjson-stringify-safejson5jsonfilejsonifyjsonparsejsprimkeyvkind-ofklawkleurlatest-versionlevenlevnlines-and-columnslinkify-itlint-stagedlistrlistr-inputlistr-silent-rendererlistr-update-rendererlistr-verbose-rendererlistr2load-json-fileloader-runnerloader-utilslocate-pathlodashlodash._reinterpolatelodash.camelcaselodash.omitlodash.padendlodash.picklodash.sortbylodash.templatelodash.templatesettingslodash.ziplog-symbolslog-updatelolexloud-rejectionlowercase-keyslru-cachemake-dirmakeerrormap-age-cleanermap-cachemap-objmap-visitmarkdown-itmarkdown-it-anchormarkedmd5.jsmdurlmemmemory-fsmeowmerge-streammicromatchmiller-rabinmime-dbmime-typesmimic-fnmimic-responsemin-indentminimalistic-assertminimalistic-crypto-utilsminimatchminimistminimist-optionsmississippimixin-deepmkdirpmkdirp2move-concurrentlymsmute-streamnanomatchnatural-compareneo-asyncnew-github-release-urlnice-trynode-fetchnode-int64node-libs-browsernode-modules-regexpnode-notifiernormalize-package-datanormalize-pathnormalize-urlnpnpm-namenpm-package-argnpm-registry-clientnpm-run-pathnpmlognumber-is-nannwsapioauth-signobject-assignobject-copyobject-getobject-inspectobject-keysobject-to-spawn-argsobject-visitobject.assignobject.pickobject.valuesonceonetimeopenopencollective-postinstalloptionatororg-regexos-browserifyos-homediros-tmpdirosenvowp-cancelablep-deferp-each-seriesp-eventp-finallyp-is-promisep-limitp-locatep-mapp-memoizep-timeoutp-trypackage-jsonpakoparallel-transformparent-moduleparse-asn1parse-jsonparse-passwdparse5parsimmonpascalcasepath-browserifypath-dirnamepath-existspath-is-absolutepath-is-insidepath-keypath-parsepath-typepbkdf2performance-nowpicomatchpifypinkiepinkie-promisepiratespkg-dirplease-upgrade-nodepnposix-character-classesprelude-lsprepend-httpprettierprettier-linter-helperspretty-formatprism-mediaprocessprocess-nextick-argsprogresspromise-inflightpromptsprrpslpublic-encryptpumppumpifypunycodepupaqqsquerystringquerystring-es3quick-lrurandombytesrandomfillrcreact-isread-pkgread-pkg-upreadable-streamreaddirprealpath-nativeredentreduce-extractreduce-flattenreduce-uniquereduce-withoutregenerator-runtimeregex-notregexppregistry-auth-tokenregistry-urlremove-trailing-separatorrepeat-elementrepeat-stringrequestrequest-promise-corerequest-promise-nativerequire-directoryrequire-main-filenamerequizzleresolveresolve-cwdresolve-dirresolve-fromresolve-globalresolve-urlresponselikerestore-cursorretretryrimrafripemd160rsvprun-asyncrun-queuerxjssafe-buffersafe-regexsafer-buffersanesaxesschema-utilsscoped-regexsemversemver-comparesemver-diffsemver-regexserialize-javascriptset-blockingset-valuesetimmediatesha.jsshebang-commandshebang-regexshellwordssignal-exitsisteransislashslice-ansislidesnapdragonsnapdragon-nodesnapdragon-utilsort-arraysource-list-mapsource-mapsource-map-resolvesource-map-supportsource-map-urlspdx-correctspdx-exceptionsspdx-expression-parsespdx-license-idssplitsplit-stringsplit2sprintf-jssshpkssristack-utilsstatic-extendstealthy-requirestream-browserifystream-connectstream-eachstream-httpstream-shiftstream-viastring-argvstring-lengthstring-widthstring.prototype.trimendstring.prototype.trimstartstring_decoderstringify-objectstrip-ansistrip-bomstrip-eofstrip-final-newlinestrip-indentstrip-json-commentssupports-colorsupports-hyperlinkssymbol-observablesymbol-treetabletable-layouttaffydbtapabletartar-streamtemp-pathterm-sizeterminal-linkterserterser-webpack-plugintest-excludetest-valuetext-extensionstext-tablethroatthroughthrough2timers-browserifytmptmplto-arraybufferto-bufferto-fast-propertiesto-object-pathto-readable-streamto-regexto-regex-rangetough-cookietr46trim-newlinestrim-off-newlinestsconfig-pathstslibtslinttsubakitsutilstty-browserifytunnel-agenttweetnacltype-checktype-detecttype-festtypedarraytypedarray-to-buffertypescripttypicaluc.microuglify-jsunderscoreunion-valueunique-filenameunique-slugunique-stringuniversalifyunset-valueupathupdate-notifieruri-jsurixurlurl-parse-laxuseutilutil-deprecateuuidv8-compile-cachev8-to-istanbulvalidate-npm-package-licensevalidate-npm-package-nameverrorvm-browserifyw3c-hr-timew3c-xmlserializerwalk-backwalkerwatchpack-chokidar2webidl-conversionswebpackwebpack-cliwebpack-sourceswhatwg-encodingwhatwg-mimetypewhatwg-urlwhichwhich-modulewhich-pm-runswide-alignwidest-lineword-wrapwordwrapwordwrapjsworker-farmwrap-ansiwrappywritewrite-file-atomicwsxdg-basedirxml-name-validatorxmlcharsxmlcreatexregexpxtendy18nyallistyamlyargsyargs-parser
1.0.0

4 years ago