<feed xmlns='http://www.w3.org/2005/Atom'>
<title>progs/discord-bot-skeleton.git/util, branch master</title>
<subtitle>turret'.s discord bot skeleton for C99</subtitle>
<link rel='alternate' type='text/html' href='http://git.turret.cyou/progs/discord-bot-skeleton.git/'/>
<entry>
<title>ws: add latency to ident/ready</title>
<updated>2025-09-29T05:13:47+00:00</updated>
<author>
<name>turret</name>
<email>turret@duck.com</email>
</author>
<published>2025-09-29T05:13:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.turret.cyou/progs/discord-bot-skeleton.git/commit/?id=1f753f79694aba734f4f77cc69095a35fbd10873'/>
<id>1f753f79694aba734f4f77cc69095a35fbd10873</id>
<content type='text'>
when using api_latency during the websocket heartbeat jitter, it will
report 0.00. this resolves that by using the READY event by measuring
time from ident send

additionally, remove headers curl slist free since it would also free
the overarching slist, which isnt created by us. we can dirty it but i
would rather free it in the context that created it so its obvious that
its Not A Memory Leak:tm:
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
when using api_latency during the websocket heartbeat jitter, it will
report 0.00. this resolves that by using the READY event by measuring
time from ident send

additionally, remove headers curl slist free since it would also free
the overarching slist, which isnt created by us. we can dirty it but i
would rather free it in the context that created it so its obvious that
its Not A Memory Leak:tm:
</pre>
</div>
</content>
</entry>
<entry>
<title>command: add command decl sys</title>
<updated>2025-09-29T05:12:45+00:00</updated>
<author>
<name>turret</name>
<email>turret@duck.com</email>
</author>
<published>2025-09-29T05:12:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.turret.cyou/progs/discord-bot-skeleton.git/commit/?id=4e360a4ed7cd77709588b659c704b43d6d474031'/>
<id>4e360a4ed7cd77709588b659c704b43d6d474031</id>
<content type='text'>
additionally, edit ping to use new abstractions and command declaration
facilities.  TODO: move interaction create event to somewhere else. this
spot isnt too good for it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
additionally, edit ping to use new abstractions and command declaration
facilities.  TODO: move interaction create event to somewhere else. this
spot isnt too good for it.
</pre>
</div>
</content>
</entry>
<entry>
<title>abstract: add interaction responses</title>
<updated>2025-09-29T05:12:05+00:00</updated>
<author>
<name>turret</name>
<email>turret@duck.com</email>
</author>
<published>2025-09-29T05:12:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.turret.cyou/progs/discord-bot-skeleton.git/commit/?id=535ff19dd942d9d53228200eea9096e7e59f76f8'/>
<id>535ff19dd942d9d53228200eea9096e7e59f76f8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>misc: warning fixes</title>
<updated>2025-09-29T03:52:34+00:00</updated>
<author>
<name>turret</name>
<email>turret@duck.com</email>
</author>
<published>2025-09-29T03:52:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.turret.cyou/progs/discord-bot-skeleton.git/commit/?id=4eb442a9c45c6ad431bd9f87d01bb5cc6c99ac0f'/>
<id>4eb442a9c45c6ad431bd9f87d01bb5cc6c99ac0f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>net: remove debug print</title>
<updated>2025-06-23T00:19:51+00:00</updated>
<author>
<name>turret</name>
<email>turret@duck.com</email>
</author>
<published>2025-06-23T00:19:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.turret.cyou/progs/discord-bot-skeleton.git/commit/?id=c55be5a0bc9a7d75172a56f6128cea13e606ee5c'/>
<id>c55be5a0bc9a7d75172a56f6128cea13e606ee5c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>net: api changes, data export, ident, an more</title>
<updated>2025-06-23T00:15:47+00:00</updated>
<author>
<name>turret</name>
<email>turret@duck.com</email>
</author>
<published>2025-06-23T00:15:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.turret.cyou/progs/discord-bot-skeleton.git/commit/?id=abb1c579d29b3fb61e79601518799beca46609c3'/>
<id>abb1c579d29b3fb61e79601518799beca46609c3</id>
<content type='text'>
Move HELLO IDENT functionality into util/net
Add ready event in example/hello, grab app id and print info
Change http_request family of functions
 - Remove bufsiz for response code
 - Remove post input pipe in exchange for simple writebuf
Add heartbeat latency ack tracking
Add websocket handle close function (dummy function, to be extended
upon)
Add message for invalid token
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move HELLO IDENT functionality into util/net
Add ready event in example/hello, grab app id and print info
Change http_request family of functions
 - Remove bufsiz for response code
 - Remove post input pipe in exchange for simple writebuf
Add heartbeat latency ack tracking
Add websocket handle close function (dummy function, to be extended
upon)
Add message for invalid token
</pre>
</div>
</content>
</entry>
<entry>
<title>init: add TODO</title>
<updated>2025-06-23T00:10:03+00:00</updated>
<author>
<name>turret</name>
<email>turret@duck.com</email>
</author>
<published>2025-06-23T00:10:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.turret.cyou/progs/discord-bot-skeleton.git/commit/?id=35d7228fb15bc7b262745fef179f79d1ac0b4045'/>
<id>35d7228fb15bc7b262745fef179f79d1ac0b4045</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>net: add prints for data when unhandled</title>
<updated>2024-03-31T02:24:36+00:00</updated>
<author>
<name>turret</name>
<email>turret@duck.com</email>
</author>
<published>2024-03-31T02:24:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.turret.cyou/progs/discord-bot-skeleton.git/commit/?id=f6b38bbdeeaa3645e1921ccc6114d43e25dd1083'/>
<id>f6b38bbdeeaa3645e1921ccc6114d43e25dd1083</id>
<content type='text'>
mainly for early building process

net: make curl ws_handle non-static
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mainly for early building process

net: make curl ws_handle non-static
</pre>
</div>
</content>
</entry>
<entry>
<title>log: increase buffer size</title>
<updated>2024-03-31T02:23:48+00:00</updated>
<author>
<name>turret</name>
<email>turret@duck.com</email>
</author>
<published>2024-03-31T02:23:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.turret.cyou/progs/discord-bot-skeleton.git/commit/?id=e9cf9c79ff159b59cfc61887ad8a69164785a1c9'/>
<id>e9cf9c79ff159b59cfc61887ad8a69164785a1c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>net: event handler</title>
<updated>2024-03-31T01:35:30+00:00</updated>
<author>
<name>turret</name>
<email>turret@duck.com</email>
</author>
<published>2024-03-31T01:35:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.turret.cyou/progs/discord-bot-skeleton.git/commit/?id=2fb619ed6eac19afd7ed3b2c7baa4adc253f418e'/>
<id>2fb619ed6eac19afd7ed3b2c7baa4adc253f418e</id>
<content type='text'>
in subsys.h: include init.h to ensure l5_initcall availability

also: add example/ directory to provide some user-code in the skeleton
(will likely be made defunct as i make the remainder of the skeleton,
such as a /ping command and user action and maybe some buttons, which
will require more organisation)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in subsys.h: include init.h to ensure l5_initcall availability

also: add example/ directory to provide some user-code in the skeleton
(will likely be made defunct as i make the remainder of the skeleton,
such as a /ping command and user action and maybe some buttons, which
will require more organisation)
</pre>
</div>
</content>
</entry>
</feed>
