What is the canonical approach for a plugin to create bots?

Hey,
I’m looking into a implementing a plugin that creates and manages bots as part of its’ functionality.

My requirements for these bots are:

  1. There is a dynamic number of them, not a predefined set amount
  2. They need to be able to author topics (programmatically)

From what I found so far:

My question is: Is manually creating a User model with negative id the “proper” way of creating bots?

What I’m worried about is potentially creating future problems for myself by creating a User like that.

3 Likes