mirror of
https://github.com/jcreek/denBot.git
synced 2026-07-12 18:33:45 +00:00
feat(*): Set delete channel timeout to use minutes, not seconds for production
This commit is contained in:
@@ -147,7 +147,7 @@ function makeTempChannel(message) {
|
|||||||
.catch(logger.error);
|
.catch(logger.error);
|
||||||
|
|
||||||
// Delete the channel after 20 seconds
|
// Delete the channel after 20 seconds
|
||||||
setTimeout(function(){ deleteChannel(message, createdChannelId); }, (config.channeldeletetimeinminutes * 1000) );
|
setTimeout(function(){ deleteChannel(message, createdChannelId); }, (config.channeldeletetimeinminutes * 1000 * 60) );
|
||||||
}
|
}
|
||||||
|
|
||||||
function deleteChannel(message, channelId) {
|
function deleteChannel(message, channelId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user