JonnyPtn / zomboi

A discord bot for project zomboid multiplayer servers
49 stars 32 forks source link

Global chat echoed #40

Closed xbelanch closed 2 years ago

xbelanch commented 2 years ago

Bot is working pretty well :) but I found that messages in global chat are "echoed" as you can see at the next screenshot:

ProjectZomboid64_2022-08-10_18-43-15

I found it very annoying so I'm wondering if there's any option to disable it.

petegilb commented 2 years ago

The discord bot doesn't mirror any chat from discord and put it in the game. You are most likely using the builtin discord integration that project zomboid servers have

JonnyPtn commented 2 years ago

Yeah unfortunately this is a problem with the official integration that I experienced in the past too

xbelanch commented 2 years ago

For now I prefer the official (it's plain and less intrusive for my personal taste on discord) so I decided to comment zomboi.add_cog(ChatHandler(zomboi, logPath)) line on zomboi.py. Perhaps it'd be useful have an option on the env file to disable it like the rest of notifications.