mirror of
https://github.com/jcreek/denBot.git
synced 2026-07-13 10:53:45 +00:00
feat(*): Remove unused getCurrentDateAndTime function
This commit is contained in:
@@ -96,15 +96,6 @@ client.once('ready', () =>{
|
|||||||
* dc - Delete an adventure channel (only the captain can use this)
|
* 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() {
|
function generateQueueTitle() {
|
||||||
return `\n===== ADVENTURE QUEUE (${playerQueue.length}/${config.maxqueuesize}) =====`;
|
return `\n===== ADVENTURE QUEUE (${playerQueue.length}/${config.maxqueuesize}) =====`;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user