isup timeout
This commit is contained in:
		@@ -239,7 +239,7 @@ export default bot => {
 | 
			
		||||
    set: "nxy",
 | 
			
		||||
    f: e => {
 | 
			
		||||
      const addr = !e.args[0].match(/^https?/g) ? `https://${e.args[0]}` : e.args[0];
 | 
			
		||||
      rp(addr)
 | 
			
		||||
      rp(addr, { timeout: 2000 })
 | 
			
		||||
        .then(res => {
 | 
			
		||||
          e.reply(`[b]${addr}[/b] seems to be [b]up[/b].`);
 | 
			
		||||
        })
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user