mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
Create example docs
This commit is contained in:
10
docs/custom/ping_pong.js
Normal file
10
docs/custom/ping_pong.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const fs = require('fs-extra');
|
||||
|
||||
module.exports = {
|
||||
category: 'Examples',
|
||||
name: 'Ping Pong',
|
||||
data:
|
||||
`\`\`\`js
|
||||
${fs.readFileSync('./docs/custom/examples/ping_pong.js').toString('utf-8')}
|
||||
\`\`\``,
|
||||
};
|
||||
Reference in New Issue
Block a user