Parent Directory
|
Revision Log
|
Patch
revision 26 by rakin, Mon Jul 29 17:28:16 2024 UTC | revision 27 by rakin, Mon Jul 29 17:28:16 2024 UTC | |
---|---|---|
# | Line 76 class App { | Line 76 class App { |
76 | } | } |
77 | else if (valid && snippet !== undefined) { | else if (valid && snippet !== undefined) { |
78 | await message.channel.send({ | await message.channel.send({ |
79 | content: snippet.content | content: snippet.content, |
80 | files: snippet.files.map(f => { | |
81 | return { | |
82 | attachment: path.resolve(__dirname, '..', 'storage', f) | |
83 | } | |
84 | }) | |
85 | }); | }); |
86 | } | } |
87 | else if (valid && !has) { | else if (valid && !has) { |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |