euphoxide/euphoxide-bot
Joscha 8377695529 Remove instance id generics
Instead, all instance ids are now usize (like message ids). This allows
me to enforce the fact that no two instances of a Bot must have the same
id by generating the ids in the Bot.

Reusing the same id for multiple instances that send their events to the
same place can lead to race conditions depending on how events are
handled. For example, the old instance might still be shutting down
while the new instance is already connected to a room, leading to an
InstanceEvent::Stopped from the old instance that seemingly applies to
the new instance.
2024-12-27 15:07:10 +01:00
..
examples Remove instance id generics 2024-12-27 15:07:10 +01:00
src Remove instance id generics 2024-12-27 15:07:10 +01:00
Cargo.toml Add instance-based examplebot 2024-12-27 13:18:36 +01:00