Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 53c5be6

Browse files
authored
Update index.js
1 parent 2abe9a9 commit 53c5be6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,31 @@
11
const login = require('./classes/Login.js');
22
const user = require('./classes/User.js');
33
const post = require('./classes/Post.js');
4+
const repl = require('./classes/Repl.js');
45
const comment = require('./classes/Comment.js');
56
const leaderboard = require('./classes/Leaderboard.js');
7+
const board = require('./classes/Board.js');
68
const notifications = require('./classes/Notifications.js');
79
const misc = require('./classes/Misc.js')
810

911
if (!login) throw new Error('Login class not found');
1012
if (!user) throw new Error('User class not found');
1113
if (!post) throw new Error('Post class not found');
14+
if (!repl) throw new Error('Repl class not found');
1215
if (!comment) throw new Error('Comment class not found');
1316
if (!leaderboard) throw new Error('Leaderboard class not found');
17+
if (!board) throw new Error('Board class not found');
1418
if (!notifications) throw new Error('Notifications class not found');
1519
if (!misc) throw new Error('Miscellaneous class not found');
1620

1721
module.exports = {
1822
Login: login.Login,
1923
User: user.User,
2024
Post: post.Post,
25+
Repl: repl.Repl,
2126
Comment: comment.Comment,
2227
Leaderboard: leaderboard.Leaderboard,
28+
Board: board.Board,
2329
Notifications: notifications.Notifications,
2430
Misc: misc.Misc
2531
}

0 commit comments

Comments
 (0)