https://github.com/neguindev/bot-logs-webhook
Bot Logs Webhook is a Discord bot built to log sales data via a webhook. It uses Discord.js for the bot functionality and Express for the web server.
https://github.com/neguindev/bot-logs-webhook
Last synced: over 1 year ago
JSON representation
Bot Logs Webhook is a Discord bot built to log sales data via a webhook. It uses Discord.js for the bot functionality and Express for the web server.
- Host: GitHub
- URL: https://github.com/neguindev/bot-logs-webhook
- Owner: NeguinDev
- Created: 2023-07-22T08:18:15.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-29T03:59:12.000Z (almost 3 years ago)
- Last Synced: 2025-02-11T10:46:50.943Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bot Logs Webhook
## Description
Bot Logs Webhook is a Discord bot built to log sales data via a webhook. It uses Discord.js for the bot functionality and Express for the web server.
## Requirements
- Node.js
- Discord.js
- Express
## Installation
Clone the repository:
```bash
git clone https://github.com/NeguinDev/bot-logs-webhook.git
```
Install the dependencies:
```bash
npm install
```
Rename `.env.exemple` to `.env` and fill in the required environment variables:
```
TOKEN=
CLIENT_ID=
GUILD_ID=
CHANNEL_ID=
```
## Usage
To start the bot, run:
```bash
npm start
```
For development:
```bash
npm run dev
```
## Features
### Discord Bot
The bot has basic commands like `ping` and `id` for testing purposes.
### Webhook Server
The Express server listens for incoming webhooks and logs the sales data to a Discord channel.
## Contribution
Feel free to contribute to the project. Open a PR or an issue for discussions.
## License
ISC