Cuu.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

help.ts 414 B

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