nerrixde / simple-modlogs

Simple Python Discord modlog-bot sourced from auditlogs without database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Modlogs [DEPRECATED]

PRs Welcome

About this bot

  • This bot does not scales up regarding servers, it's not recommended to use it on more than 50 servers.
  • There is no public version and there won't be.
  • This bot is not a moderation-bot. It is just a mod-log-bot.

How to use

  • Install discord.py.
  • Put your Discord-Bot-Token into configs.py.
  • Start the bot (python3 bot.py), running it in screen is recommended.

Bot behaviour

  • This bot has no commands, it will log Kicks, Bans, Unbans, Mutes and Unmutes in a channel named mod-log which must exist. The channel name might be changed in configs.py
  • The bot detects mutes based on if the role Muted (also changeable in configs.py) was assigned or unassigned. It will not create a modlog-entry when the role is assigned due re-join persistance.
  • The bot will log banned/muted/kicked/unmuted/unbanned bots as well as users.
  • The modlog-reason is sourced from the audit-log-reason, it can be changed (or set, if none) by users having send-message-permission in the mod-log-channel.

Example ModLog

Reason edit


Notice: the modlog-case-number increases automatically based on the last modlog-entry, if first or none found, it's 1.

About

Simple Python Discord modlog-bot sourced from auditlogs without database

License:GNU General Public License v3.0


Languages

Language:Python 100.0%