Logger is a WIP discord bot to log all actions and events that can happen in a discord server!
This is my first bot, and I know this isn't an original idea, but I still want practice.
First, you will need a Bot created in the Discord Developer Portal. Make sure it has the Message Content Intent, which is under the Bot tab. It also needs the bot scope under the Install tab.
Clone the repository, and run npm install to install the dependencies. Create auth.json, config.json and data.json in ./config by using the templates provided in that directory.
Run the bot using npm run dev, and once it is running, you can add your bot to the server and default data should be created and placed into data.json.
- Adding all events
- Thread Create / Update / Delete
- Guild Ban Add / Remove
- Guild Emojis Update
- Guild Stickers Update
- Guild Member Add / Remove / Update
- Guild Integration Create / Update / Delete
- Interaction Create
- Invite Create / Delete
- Webhooks Update
- Message Reaction Add / Remove / Remove All / Remove Emoji
- Refactor / Upgrade to slash commands.
- Separate channel per event
- Util function for embed creation
Usage: $setlog <#channel>
Sets what channel events get logged to.
Usage: $disable
Disables logging on the server.
Usage: $config <event> ['true' | 'false']
Enable or disable events.
Usage: $events
Lists all events and their current status.
Usage: $modrole ['add' | 'remove'] <roleid>
Adds and removes roles that can use commands
Most useful events found in Discord API Documentation
Most events pull from the audit logs to check who did an action, with the exception of deleted messages.
@vicrobex - Sprite graphics
@cattte - Help with code when I'm stupid
