feat(*): Remove unused getCurrentDateAndTime function

This commit is contained in:
2020-11-05 23:23:37 +00:00
parent 087fecf93a
commit e08495bfc2
-9
View File
@@ -96,15 +96,6 @@ client.once('ready', () =>{
* dc - Delete an adventure channel (only the captain can use this)
*/
function getCurrentDateAndTime() {
const today = new Date();
const date = `${today.getFullYear()}-${today.getMonth()+1}-${today.getDate()}`;
const time = `${today.getHours()}:${today.getMinutes()}:${today.getSeconds()}`;
const dateTime = `${date} ${time}`;
return dateTime;
}
function generateQueueTitle() {
return `\n===== ADVENTURE QUEUE (${playerQueue.length}/${config.maxqueuesize}) =====`;
}