Discord Artisan
About
Artisan is the add-in for discord.js which allows you to delete, save messages with files from the dialogue/channels.
Install
npm install discord.js-artisan
<>yarn add discord.js-artisan
Example
const Client = const Artisan = const bot = const artisan = pathToSave: 'YOUR_CUSTOM_PATH_HERE' saveEmbeds: true bot
Available options
Type | Name | Description | Default |
---|---|---|---|
String | pathToSave | Path where dumper files will be stored | folder "dump" in work directory |
Boolean | saveEmbeds | Whether to save embeds | false |
Boolean | saveAttachments | Whether to save attachments | true |
These options need to be placed in the object and passed at
constuctor Artisan