|
1234567891011 |
- import { readFile } from 'fs/promises';
- import { Message } from 'discord.js';
-
- export default async (message: Message): Promise<void> => {
- await message.reply('Sent you a DM <:chinesedoge:649753972395081788>');
- const readmeContentBuffer = await readFile('README.md');
- const readmeContentString = readmeContentBuffer.toString('utf-8');
- await message.author.send({
- content: readmeContentString,
- });
- };
|