This bot collects data of your discord server and make it accessible for you!
Clone the repo and redirect into it:
git clone https://github.com/JannesT3011/AnalyticsCube/tree/master
cd AnalyticsCube/Install all requirements:
pip3 install -r requirements.txtCreate config.py file:
nano config.pyThis file should look like this:
# DISCORD BOT CONFIG
TOKEN = ""
PREFIX = ""
# DATABASE CONFIG
CONNECTION = ""
CLUSTER = ""
DB = ""
#IMGUR API CONFIG
IMGUR_CLIENT_ID = ""
IMGUR_CLIENT_SECRET = ""Fill in your credentials and data
Start the bot:
python3 bot.py| Name | Info |
|---|---|
| stats | Stats about the server data (size, etc) |
analyze category* |
Give you stats about the collected data and category |
plot category* |
Plot collected data of given category |
blacklist add/remove |
Blacklist channel! (In this channel will be no data collected) |
userinfo user |
Infos about a given user |
roleinfo role |
Infos about a given role |
! All commands can only be executed from users with admin rights !
* see categorys in fallowing table
| Category/Name | Data that will be collected |
|---|---|
message |
timestamp, roles of author, channelid, attachments |
message_edit |
timestamp, roles of author, channelid |
message_delete |
timestamp, roles of author, channelid |
mentions |
timestamp, role (of author) that was mentioned, roles of author, channelid |
botrequests |
timestamp, command name, channelid, role of author |
botmsg |
timestamp, roles of author, channelid |
reactions |
timestamp, name of reaction, role of author, channelid |
userjoin |
timestamp |
userleaves |
timestamp |
user_ban |
timestamp |
user_unban |
timestamp |
user_nickchange |
timestamp, role of author |
game/status |
timestamp, game, role of user |
voice |
timestamp, join/leave, role of user, channelid, afk status, stream, video status (on/off) |
invites |
timestamp |
guild_updates |
timestamp |
users |
timestamp, user count |
user informationsuch as your id, mail ...Spotify trackthe name of the song you listen tomessage ids
You can also blacklist channels, so that no data will collected in these!
- new logo (first row one cube, sec two cubes, third three cubes)
- async pymongo
- message delete
- message edit
- message attechment (files etc.)
- on_member_update select more data, like nikname change...
- on_guild_update
- kick, ban, unban
- invite create
- voice channel
- count users
- how much messages did this bot send?
- role info
- user info
- config command
- blacklist channel
- plot > imgur api
- user plot
- blacklist specific data that then not will be collected
- interfaces -> when send cs.plot/analyze without argument SELECT option of category
