refactoring (#4)

This commit is contained in:
2021-04-10 19:17:18 +02:00
committed by GitHub
parent 9cf66c7435
commit 24a07c4588
21 changed files with 240 additions and 173 deletions

7
functions/findMessage.js Normal file
View File

@ -0,0 +1,7 @@
const globals = require('../globals');
const findMessage = (value) => {
return globals.Replies.find(r => r.id === value).string;
};
module.exports = { findMessage };