/message
Retrieves information of the given message
Some information may be missing or inaccurate if your bot does not include the
MessageContentIntent
- bot-token - Token of the Bot [String] (Required)
- apikey - Your Api Auth Key [String] (Required)
- chan-id - ID of the channel to be fetched [Snowflake] (Required)
- msg-id - ID of the message to be fetched [Snowflake] (Required)
Data API version required. Must replace
<version>
with either release or beta.Example usage of
/message
endpoint using BDFD$httpAddHeader[apikey;<YOUR-API-KEY>]
$httpAddHeader[bot-token;<YOUR-BOT-TOKEN>]
$httpAddHeader[guild-id;1064098700307218463]
$httpAddHeader[chan-id;1064098700307218463]
$httpAddHeader[msg-id;1064098700847210194]
$httpGet[https://bdfddata.rickyjs.xyz/<version>/message]
$httpResult OR $httpResult[details]
Example usage of
/message
endpoint using Discord.jsconst axios = require('axios');
(async () => {
return await axios.get('https://bdfddata.rickyjs.xyz/<version>/message', {
headers: {
'apikey': <YOUR-API-KEY>,
'bot-token': <YOUR-BOT-TOKEN>,
'guild-id': '1064098700307218463',
'chan-id': '1064098700307218463',
'msg-id': '1064098700847210194'
}
}).then(res=>res.data)
})()
Last modified 2mo ago