MCPcopy Create free account
hub / github.com/DarkGuy10/BotClient / execute

Function execute

public/structures/Client/events/messageCreate.js:5–8  ·  view source on GitHub ↗
(client, message)

Source from the content-addressed store, hash-verified

3module.exports = {
4 name: 'messageCreate',
5 async execute(client, message) {
6 const serializedMessage = await serializeMessage(message)
7 client.transmit(this.name, serializedMessage)
8 },
9}

Callers

nothing calls this directly

Calls 2

serializeMessageFunction · 0.85
transmitMethod · 0.80

Tested by

no test coverage detected