#bot confuses messages between servers
9 messages · Page 1 of 1 (latest)
I logged generated_text and guildId to the console to make sure
Confuses in what sense
let's say there are 2 texts and 2 guilds
bot handles event from 1 guild, then bot generates text and trying to send it to 1 guild, BUT message comes to 2 server
and vice versa
whole handler
I literally have no idea how this happens
maybe it's because I'm using sharding?
Where do you declare generated_text and those other variables? If you don’t they‘d be global vars by default and get overwritten by each concurrent call of that function