2021-01-11 16:49:20 +01:00
2021-01-11 16:49:20 +01:00
2021-01-08 16:25:22 +01:00
2021-01-11 15:57:18 +01:00
2021-01-06 12:09:10 +01:00

Scc Count Badge Language grade: Python Total alerts

Discord Analyst

When you need statistics about your discord server

  • %help (command) - info about commands
  • %info - version and uptime
  • %emotes : Rank emotes by their usage
    • arguments:
      • @member/me : filter for one or more member
      • #channel/here : filter for one or more channel
      • : top emojis, default is 20
      • all : list all common emojis in addition to this guild's
      • members : show top member for each emote
    • Example: %emotes 10 all #mychannel1 #mychannel2 @user

Running this bot

1. Install requirements

pip3 install -r requirements.txt

2. Make a .env file as following

#.env
DISCORD_TOKEN=<bot token from discordapp.com/developers>

3.Invite bot in your discord server

Generate and use the OAuth2 link in discordapp.com/developers to invite it.

You will need:

  • Scopes:
    • bot
  • Bot Permissions:
    • View Channels
    • Send Messages
    • Read Message History

4. Launch bot

python3 src/main.py

Changelog

  • (WIP)v1.6:
    • more scans : %full, %freq, %comp, %other
    • huge bug fix
  • v1.5:
    • top emotes
    • bug fix
  • v1.4:
    • integrate miniscord
    • insane speed with bot-side logging
    • bug fix
  • v1.3: revert to v1.1 and update requirements
  • v1.2: don't quit on occasional exception
  • v1.1:
    • coma separator for big numbers
    • history loading by chunks for big channels (performance increase)
    • bug fix
  • v1.0: stable release
S
Description
📈 Gives you precisions you never asked for.
Readme GPL-3.0 558 KiB
Languages
Python 99.8%
Dockerfile 0.2%