#Is it bad practice to have multiple bots with same bot token?

1 messages · Page 1 of 1 (latest)

tender domeBOT
frigid oasis
#

Okay, sooo OAuth2 to the rescue

#

From what I've gathered, you effectively have a bot, and that bot has an API, but they use two separate databases?

frigid oasis
#

Ah, right, I kinda see what's going on here

#

Well, it's stored in memory

#

You could always do IPC/RPC to ask the bot? And, at worse you add maybe two classes for this communication

#

Alternatively, you have the API do a lookup on the channel, make an API call to get the bot user, and calculate permissions, which wouldn't require any glue code, but does add complexity and concerns about SRP to the API project so ehhh pick your poison, I suppose