/[sudobot]/trunk/src/App.js
ViewVC logotype

Diff of /trunk/src/App.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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) {

Legend:
Removed from v.26  
changed lines
  Added in v.27

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26