Giter Club home page Giter Club logo

dinkleberg's Introduction

Dinkleberg

Catch users faking their offline status on Discord

logo

Build project Codacy Badge GitHub stars GitHub issues Stability: Active GitHub license

About

Dinkleberg is a Discord bot written in Rust to assist tracking of users online status. Technically you do not depend on a Discord bot token and a Discord user token can be used instead if the code is modified properly to support it. It can detect if a user is offline, or really just pretending when the user sets its status to invisible on Discord.

End of life

Discord has finally addressed and fixed this vulnerability ๐ŸŽ‰

Preview

preview image

Disclaimer

Dinkleberg was developed for educational, private and fair use.
I am not responsible in any way for the usage of the source code.

Features

  • Rust
  • Automatically track an entire guild and its users
  • Filter for specific users
  • Fancy colored output
  • Find out who really goes offline or just pretends to
  • Easy to use

Building

Clone the repository using git and change to the local repository directory:

git clone https://github.com/oSumAtrIX/dinkleberg.git
cd dinkleberg

Nightly Rust is required to build this project. Install it by following rustup.rs instructions.

cargo build --release

Bot setup

The bot needs the following gateway intents to operate.

  • GUILD_PRESENCES

  • GUILD_MEMBERS

Environment variables

To use this project you will need to set the following environment key with your Discord token as the value:

  • DISCORD_TOKEN

Settings

A default settings.json file will be generated when running the program at the first time.

  • On big Discord servers (+999 members), it is recommended to use the official API since more rate-limiting applies to the widget endpoint. On the other hand, the official Discord API is way less reliable and may cause more false detections, so it is recommended to use the widget as much as possible. For that, widgets must be enabled in the targets Discord server settings under Server Settings > Widget > Enable server widget.

  • Set use_widget in the settings.json to false to use the Discord bot API endpoint instead.

  • Adding user ids to include_only list, separated by a comma, will only track those users. Leaving it empty as-is will track all users in the targeted guild. Filtering helps with rate limiting and false detection a lot and should be considered to be used.

  • Increase the sleep_timer if Discord is too slow to update changes on the member count.

Usage/ Examples

$ dinkleberg.exe

'########::'####:'##::: ##:'##:::'##:'##:::::::'########:'########::'########:'########:::'######:::
 ##.... ##:. ##:: ###:: ##: ##::'##:: ##::::::: ##.....:: ##.... ##: ##.....:: ##.... ##:'##... ##::
 ##:::: ##:: ##:: ####: ##: ##:'##::: ##::::::: ##::::::: ##:::: ##: ##::::::: ##:::: ##: ##:::..:::
 ##:::: ##:: ##:: ## ## ##: #####:::: ##::::::: ######::: ########:: ######::: ########:: ##::'####:
 ##:::: ##:: ##:: ##. ####: ##. ##::: ##::::::: ##...:::: ##.... ##: ##...:::: ##.. ##::: ##::: ##::
 ##:::: ##:: ##:: ##:. ###: ##:. ##:: ##::::::: ##::::::: ##:::: ##: ##::::::: ##::. ##:: ##::: ##::
 ########::'####: ##::. ##: ##::. ##: ########: ########: ########:: ########: ##:::. ##:. ######:::
........:::....::..::::..::..::::..::........::........::........:::........::..:::::..:::......::::

Usage: dinkleberg.exe <guild_id>

Known issues

  • Possibility to false detect mobile Discord clients (mobile client reports status too late)

Authors

License

GPL3

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.