title: I create a code to madd dm everyone in a server through a self bot but i am getting this error
body: <pre><code>ypeError: _0x3f232e[_0x209805(...)][_0x209805(...)] is not a function
      at Client.&lt;anonymous&gt; (C:\Users\ADVAITH\Desktop\dm\DMALL\index.js:1:5799)
      at Client.emit (events.js:315:20)
      at MessageCreateHandler.handle (C:\Users\ADVAITH\Desktop\dm\DMALL\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
      at WebSocketPacketManager.handle (C:\Users\ADVAITH\Desktop\dm\DMALL\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:105:65)
      at WebSocketConnection.onPacket (C:\Users\ADVAITH\Desktop\dm\DMALL\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:333:35)
      at WebSocketConnection.onMessage (C:\Users\ADVAITH\Desktop\dm\DMALL\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:296:17)
      at WebSocket.onMessage (C:\Users\ADVAITH\Desktop\dm\DMALL\node_modules\ws\lib\event-target.js:120:16)
      at WebSocket.emit (events.js:315:20)
      at Receiver.receiverOnMessage (C:\Users\ADVAITH\Desktop\dm\DMALL\node_modules\ws\lib\websocket.js:789:20)
      at Receiver.emit (events.js:315:20)
  (Use `node --trace-warnings ...` to show where the warning was created)
  (node:11040) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
  (node:11040) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.`enter code here`
  </code></pre>
  <p>and this is my error i am getting and  tried many way t9o solve but i  am failingb  pls help me</p>