mvp & email signature
This commit is contained in:
15
api/botClient.js
Normal file
15
api/botClient.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* bOSScord API: reference to the Discord bot client.
|
||||
* Set in broccolini-discord.js when client fires "ready"; read by bosscord routes.
|
||||
*/
|
||||
let botClient = null;
|
||||
|
||||
function setBot(client) {
|
||||
botClient = client;
|
||||
}
|
||||
|
||||
function getBot() {
|
||||
return botClient;
|
||||
}
|
||||
|
||||
module.exports = { setBot, getBot };
|
||||
Reference in New Issue
Block a user