Git Product home page Git Product logo

discord-audit-log-webhook-with-mongoose's Introduction

Discord-audit-log-webhook

Note this Discord Bot Repository is the Same as for the Public Bot LOGGER BOT if u want to support us, Please invite Loggerbot

MONGODB

MongoDB LINK

  • Create a free cluster get you connection url and post it in config.json
  • Mongo db documentation on how to get mongo url for your bot.

Installation | How to use the Bot

1. Install node.js v12+ or higher

2. Download this repo and unzip it | or git clone it

3. Install all of the packages with npm install | the important packages are npm install discord.js colors mongoose ascii-table

4 Fill in the parameters, RIGHT in ./config.json

5. start the bot with node index.js

NOTE:

If you are having errors/problems with starting delete the package.json file and do, before you install the packages npm init

MAKE SURE THAT THE BOT HAS ADMIN




SUPPORT ME AND MILRATO DEVELOPMENT

You can always Support me by inviting one of my own Discord Bots

2021's best Music Bot | Lava Music Musicium Music Bot Milrato Multi Bot

Credits

If consider using this Bot, make sure to credit me!

discord-audit-log-webhook-with-mongoose's People

Contributors

tomato6966 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

discord-audit-log-webhook-with-mongoose's Issues

Bot crashes

Describe the bug
Bot crushes whenever i delete or create any role, ban or unban user...

HERE IS THE ROLE DELETE ERROR
D:\GitBots\discord-audit-log-webhook-with-mongoose-master\logger.js:296 "ROLE DELETED"ROLE: ${role}\nROLENAME: ${role.name}\nROLEID: ${role.id}\nHEXCOLOR: ${role.hexColor}\nPOSITION: ${role.position}`
^

TypeError: "ROLE DELETED" is not a function
at Client. (D:\GitBots\discord-audit-log-webhook-with-mongoose-master\logger.js:296:23)
at Client.emit (events.js:315:20)
at GuildRoleDeleteAction.handle (D:\GitBots\discord-audit-log-webhook-with-mongoose-master\node_modules\discord.js\src\client\actions\GuildRoleDelete.js:22:16)
at Object.module.exports [as GUILD_ROLE_DELETE] (D:\GitBots\discord-audit-log-webhook-with-mongoose-master\node_modules\discord.js\src\client\websocket\handlers\GUILD_ROLE_DELETE.js:4:34)
at WebSocketManager.handlePacket (D:\GitBots\discord-audit-log-webhook-with-mongoose-master\node_modules\discord.js\src\client\websocket\WebSocketManager.js:384:31)

at WebSocketShard.onPacket (D:\GitBots\discord-audit-log-webhook-with-mongoose-master\node_modules\discord.js\src\client\websocket\WebSocketShard.js:444:22)
at WebSocketShard.onMessage (D:\GitBots\discord-audit-log-webhook-with-mongoose-master\node_modules\discord.js\src\client\websocket\WebSocketShard.js:301:10)
at WebSocket.onMessage (D:\GitBots\discord-audit-log-webhook-with-mongoose-master\node_modules\discord.js\node_modules\ws\lib\event-target.js:132:16)
at WebSocket.emit (events.js:315:20)
at Receiver.receiverOnMessage (D:\GitBots\discord-audit-log-webhook-with-mongoose-master\node_modules\discord.js\node_modules\ws\lib\websocket.js:825:20)
at Receiver.emit (events.js:315:20)
at Receiver.dataMessage (D:\GitBots\discord-audit-log-webhook-with-mongoose-master\node_modules\discord.js\node_modules\ws\lib\receiver.js:437:14)
at Receiver.getData (D:\GitBots\discord-audit-log-webhook-with-mongoose-master\node_modules\discord.js\node_modules\ws\lib\receiver.js:367:17)
at Receiver.startLoop (D:\GitBots\discord-audit-log-webhook-with-mongoose-master\node_modules\discord.js\node_modules\ws\lib\receiver.js:143:22)
at Receiver._write (D:\GitBots\discord-audit-log-webhook-with-mongoose-master\node_modules\discord.js\node_modules\ws\lib\receiver.js:78:10)
at writeOrBuffer (_stream_writable.js:378:12)`

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.