Multiple Client Logins

Kommentare

3 Kommentare

  • donovan_dmc

    Discord does not run any of the client libraries out there. Also, fyi, discord.py was officially shut down recently.

     

    Source: https://gist.github.com/Rapptz/4a2f62751b9600a31a0d3c78100287f1

    1
  • TechPro424

    I know that, I was just providing examples. I also know that Discord.py was shut down.

    0
  • donovan_dmc

    It also isn't true you can't login more than once

     

    You can log in as many bots in one process as that process can handle, and you can log in the same client multiple times. You just need separate client definitions

     

    for example

     

    import Eris from "eris";

    const client1 = new Eris.Client("TOKEN_1");
    const client2 = new Eris.Client("TOKEN_1");
    const client3 = new Eris.Client("TOKEN_2");

    client1.connect();
    client2.connect();
    client3.connect();

     

    All three clients will connect and work fine.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.