# Discord Logs

## 📊 Discord Logs

ELENASHOP can log all purchases and exploit attempts to your Discord server.

***

### Setup

#### Step 1: Create Webhook

1. Open your Discord server
2. Go to Server Settings then Integrations then Webhooks
3. Click New Webhook
4. Choose a channel and copy the webhook URL

#### Step 2: Configure

Config.EnableLogs = true Config.WebhookURL = '<https://discord.com/api/webhooks/YOUR\\_WEBHOOK\\_URL\\_HERE>' Config.LogColor = 3066993

***

### What Gets Logged

#### Purchase Log

Market Satin Alma

Oyuncu: John Doe (ID: 5) Tanimlayici: ABC12345 Magaza: 24/7 Market Odeme: Nakit Toplam: $250

Urunler:

* Hamburger x5 ($75)
* Tamir Kiti x1 ($250)

#### Exploit Log

Exploit Algilandi

Oyuncu: Hacker123 (ID: 12) Sebep: Distance exploit attempt at 247\_1

***

### Disable Logs

Config.EnableLogs = false

Keep your webhook URL private. Never share it publicly.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://elena-scripts.gitbook.io/elenascripts/economy/shop/discord-logs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
