mirror of
git://git.acid.vegas/archive.git
synced 2024-11-21 23:56:40 +00:00
Updated ping out timer
This commit is contained in:
parent
b77c5aed87
commit
a82838997f
@ -89,7 +89,7 @@ class Bot():
|
|||||||
'family' : 10 if connection.ipv6 else 2,
|
'family' : 10 if connection.ipv6 else 2,
|
||||||
'local_addr' : connection.vhost
|
'local_addr' : connection.vhost
|
||||||
}
|
}
|
||||||
self.reader, self.writer = await asyncio.wait_for(asyncio.open_connection(**options), 15)
|
self.reader, self.writer = await asyncio.wait_for(asyncio.open_connection(**options), 300)
|
||||||
await self.raw(f'USER {identity.username} 0 * :{identity.realname}')
|
await self.raw(f'USER {identity.username} 0 * :{identity.realname}')
|
||||||
await self.raw('NICK ' + identity.nickname)
|
await self.raw('NICK ' + identity.nickname)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
|
Loading…
Reference in New Issue
Block a user