24 lines
527 B
JavaScript
24 lines
527 B
JavaScript
|
// @ts-check
|
||
|
|
||
|
module.exports = {
|
||
|
/**
|
||
|
* @param {import("./discord-client")} client
|
||
|
* @param {import("discord-api-types/v10").GatewayMessageCreateDispatchData} message
|
||
|
*/
|
||
|
onMessageCreate(client, message) {
|
||
|
console.log(message)
|
||
|
console.log(message.guild_id)
|
||
|
console.log(message.member)
|
||
|
return {}
|
||
|
},
|
||
|
|
||
|
/**
|
||
|
* @param {import("./discord-client")} client
|
||
|
* @param {import("discord-api-types/v10").GatewayMessageReactionAddDispatchData} data
|
||
|
*/
|
||
|
onReactionAdd(client, data) {
|
||
|
console.log(data)
|
||
|
return {}
|
||
|
}
|
||
|
}
|