mirror of
https://github.com/ION606/custom_discordjs.git
synced 2026-05-14 22:26:54 +00:00
Added message reply, embeds, and bot login capabilities
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
const axios = require("axios").create({baseUrl: "https://jsonplaceholder.typicode.com/"});
|
||||
|
||||
class Channel {
|
||||
/** @type {String} */
|
||||
id;
|
||||
|
||||
/**
|
||||
* @param {Object} inp
|
||||
*/
|
||||
async send(inp) {
|
||||
const toSend = (typeof inp == 'string') ? {content: inp} : inp;
|
||||
const response = axios.post(`${id}/messages`, {
|
||||
// Authorization:
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user