:⁾
This commit is contained in:
		@@ -41,7 +41,7 @@ module.exports = (lib) => {
 | 
				
			|||||||
													lib.generateThumbs();
 | 
																		lib.generateThumbs();
 | 
				
			||||||
													e.reply(lib.cfg.main.url+"/"+result.insertId+" - "+cb.info.title+" ("+cb.info.mime+", ~"+lib.formatSize(cb.size)+") by "+cbgu['nick']+" ("+cbgu['username']+"@"+cbgu['hostname']+")");
 | 
																		e.reply(lib.cfg.main.url+"/"+result.insertId+" - "+cb.info.title+" ("+cb.info.mime+", ~"+lib.formatSize(cb.size)+") by "+cbgu['nick']+" ("+cbgu['username']+"@"+cbgu['hostname']+")");
 | 
				
			||||||
												}).on('error', (msg) => {
 | 
																	}).on('error', (msg) => {
 | 
				
			||||||
													e.reply(msg.error.reason);
 | 
																		e.reply("ups");
 | 
				
			||||||
												});
 | 
																	});
 | 
				
			||||||
											});
 | 
																});
 | 
				
			||||||
										}
 | 
															}
 | 
				
			||||||
@@ -165,7 +165,7 @@ module.exports = (lib) => {
 | 
				
			|||||||
						}
 | 
											}
 | 
				
			||||||
						else {
 | 
											else {
 | 
				
			||||||
							dat.end();
 | 
												dat.end();
 | 
				
			||||||
							cb({ success: false, file: tmpdest, msg: err });
 | 
												cb({ success: false, file: tmpdest, msg: 'nope.' });
 | 
				
			||||||
						}
 | 
											}
 | 
				
			||||||
					});
 | 
										});
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user