This repository was archived by the owner on Sep 6, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 11const login = require ( './classes/Login.js' ) ;
22const user = require ( './classes/User.js' ) ;
33const post = require ( './classes/Post.js' ) ;
4+ const repl = require ( './classes/Repl.js' ) ;
45const comment = require ( './classes/Comment.js' ) ;
56const leaderboard = require ( './classes/Leaderboard.js' ) ;
7+ const board = require ( './classes/Board.js' ) ;
68const notifications = require ( './classes/Notifications.js' ) ;
79const misc = require ( './classes/Misc.js' )
810
911if ( ! login ) throw new Error ( 'Login class not found' ) ;
1012if ( ! user ) throw new Error ( 'User class not found' ) ;
1113if ( ! post ) throw new Error ( 'Post class not found' ) ;
14+ if ( ! repl ) throw new Error ( 'Repl class not found' ) ;
1215if ( ! comment ) throw new Error ( 'Comment class not found' ) ;
1316if ( ! leaderboard ) throw new Error ( 'Leaderboard class not found' ) ;
17+ if ( ! board ) throw new Error ( 'Board class not found' ) ;
1418if ( ! notifications ) throw new Error ( 'Notifications class not found' ) ;
1519if ( ! misc ) throw new Error ( 'Miscellaneous class not found' ) ;
1620
1721module . 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}
You can’t perform that action at this time.
0 commit comments