1.0.0 • Published 3 years ago

discord-async-log v1.0.0

Weekly downloads
5
License
ISC
Repository
github
Last release
3 years ago

What can you do with discord-logging-webhook

You can log easily stuff with user discord webhooks

Installation

npm i discord-logging-webhook --save

Usage

const webhook = require("discord-logging-webhook")
 
const Logger = new webhook.Webhook("WEBHOOK URL HERE")

Success message

Logger.success("Succsess-Information","This is a succsess message.")

Success

Info message

Logger.info("Information","This is a information message.")

Information

Warning message

Logger.warn("Warn-Information","This is a warning message.")

Warning

Error message

Logger.err("Error-Information","This is a error message.")

Error

const webhook = require("discord-logging-webhook")
 
const Logger = new webhook.Webhook("WEBHOOK URL HERE")

Logger.info("Website-Information","The webite is loading very fast.")

Logger.warn("Warning-System", "The page loads very slowly.")

Logger.err("Error-Information","The page is broken, you can't open it")

Logger.success("Succsess-System","Yay, the website is online.")

Bugs

You can report bugs here. In my free time i will fix them.

1.0.0

3 years ago