Giter Site home page Giter Site logo

spy-bot's Introduction

spy bot

proof of concept code not to put to use

discord bots and ITs main issue - TRUST -

You have to trust the bots you use. Make no mistake this is nothing new but something that is often forgotten. This code is very easy to write even for a novice programmer.

This might is a potential way for a bad actor to log everything a bot can see. Integration into a database that could be easily searched or datamined is not particularly hard.

PLEASE LOOK INTO A BOTS REPUTATION BEFORE YOU INVITE THEM. DATA PRIVACY IS IMPORTANT.

Sample log

Structure
server id - server name - channel id - channel name - member id - member tag - messasge id - message content - message has been changed Made up sample messages

456789012345670123 - myServer - 678901234567012345 - myChannel - 234567890123456701 - myUser#0123 - 012345678901234567 - myMessage - false

456789012345670123 - myServer - 678901234567012345 - myChannel - 234567890123456701 - myUser#0123 - 012345678901234567 - my message edited - true

Legitimate uses

There are some legitimate uses for administrative purposes. If you want to see if a user actually wrote a message that is against server rules or TOS before they changes it a log would be useful. Discord does not provide such a log for you so you might want to create one yourself. I'm not up to date with the legalities and such but I personally have no interst but I just wanted to see if making a log bot is that easy.

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.