Giter Club home page Giter Club logo

Comments (5)

Merubokkusu avatar Merubokkusu commented on May 24, 2024

Pretty interesting how fast you got banned, anyway you could provide a rundown of exactly what you did before getting banned.


arandomnewaccount:
I second what Merubokkusu said. I've been testing discum on my accounts for a while now and haven't gotten banned so I'm surprised.
Could you also provide what did discord said in their account-disabled email? Usually in their "Account Disabled" email they send a vague description of what happened on your account.
I guess I'll add the answered tag in case you haven't gotten a notification yet idk.

Also, it's easy to just listen to messages in a certain channel:

#import discum
#bot = discum.Client(token=...)

message_list = []
@bot.gateway.command
def helloworld(resp):
    if resp.event.message:
        m = resp.parsed.auto()
        if m["channel_id"] == "the channel id you want to listen to":
            message_list.append(m)

bot.gateway.run()

from discord-s.c.u.m.

Davdav05 avatar Davdav05 commented on May 24, 2024

Sure - I'll describe everything that happened:

  • I ran some tests by creating a new user (didn't want to risk my main account running into trouble), creating a server, and joining another test server that I setup through my main account, all through discord's web client. In the meantime I was looking at the websocket messages, getting familiar with the information that was showing (with logging enabled).
  • I sent my other accounts some DMs through the REST API, just to understand how that worked, and added a function to the gateway that would show relevant information for me whenever a message was posted
  • Once I felt like I understood how everything worked, all I needed was to get the actual guild id and channel id, in the server where I wanted to setup my notifications. I joined through the web client, saw the welcome message in the websocket feed and in the next minute I received the following email:

Account Disabled - Violation of TOS/Community Guidelines Notification

Hello,

Discord is focused on maintaining a safe and secure environment for our community. We've found your account to be in violation of our Terms of Service or Community Guidelines. As a result, we've disabled your account for the following reason:

Discord has disabled your account for spam and/or platform abuse. Our anti-abuse measures may have flagged your account for any of the following behaviors:

Sending a large number of direct messages in a short span of time
Participating in a server dedicated to spamming Discord
Automating your user account or self-botting
Taking other actions on Discord — for example, joining a ton of servers — faster than humanly possible
Attempting potentially fraudulent activity
Sincerely,
Discord Trust & Safety

I should note though, I got my alt account flagged pretty early, while joining the test server since the app opened with my main account logged in, and I guess both connection on the same IP was already a flag for Discord. They made me verify with a phone number.

from discord-s.c.u.m.

Davdav05 avatar Davdav05 commented on May 24, 2024

Also, I just realized I installed through pip so maybe I got an older version? Will try with a new account now and be more careful not to login on the same IP and get the github version


arandomnewaccount:
pip is currently updated to the most recent version, so that shouldn't be the issue. I've actually never seen an account get disabled that quickly - I've seen accounts get flagged really quickly, but the fastest I've seen someone disable their own account was like 3 hours (and they were deliberately trying to get their own account disabled).

I also frequently log onto my alt accounts on the same ip address (and I have gotten banned on this ip address in the past before) so I'm not entirely sure what's going on. From your description it doesn't look like you're doing anything out of the ordinary. Lemme know how it goes with the new account.

from discord-s.c.u.m.

JushBJJ avatar JushBJJ commented on May 24, 2024

Can you do pip show discum in the terminal/command line?
It should look very similar to this:

Name: discum
Version: 1.0.1
Summary: A Discord Self-Bot API
Home-page: https://github.com/Merubokkusu/Discord-S.C.U.M
Author: Merubokkusu
Author-email: [email protected]
License: MIT
Location: c:\users\username\appdata\local\programs\python\python39\lib\site-packages
Requires: filetype, websocket-client, random-user-agent, requests-toolbelt, ua-parser, requests
Required-by:

from discord-s.c.u.m.

JushBJJ avatar JushBJJ commented on May 24, 2024

He most likely used an older version, early versions usually got my alts disabled but not for the latest versions.


arandomnewaccount:
alright yea. I know the pypi versions didn't have 0.3.1 which added gateway compression and decompression, superproperties, to http headers, and (if dev/user chooses to login) xfingerprint to login so I suppose discord is now checking for one (or some) of those features (back when 0.3.0 came out it was safe).
Thanks for bringing this up @Davdav05 and @JushBJJ.
Alright I'll be closing this issue now.

edit: it seems like discord is checking for gateway params so for those doing gateway tests without discum, just remember to connect to
wss://gateway.discord.gg/?encoding=json&v=8&compress=zlib-stream instead of
wss://gateway.discord.gg/?encoding=json&v=8

from discord-s.c.u.m.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.