valheim-discord-bot icon indicating copy to clipboard operation
valheim-discord-bot copied to clipboard

Extended the bot a bit

Open TCH900 opened this issue 3 years ago • 2 comments

Thanks for the awesome bot first of all, i extended the bot a bit. He also now:

  • Send a message on world save
  • Send a message on player connect
  • Send a message on player disconnect to discord.

Example Image

(That is pretty much all information i could find in the Valheim serverlogs. There might be more tho that don't show up on a new start.) The players will be shown with their steamprofile name upon connect/disconnect in discord (implemented steamapi for this).

I'm new to Github and not sure if it's allowed to reupload edited code here. If the ckbaudio gives me the permission i can upload and link it, otherwise i'm happy to send it to you (ckbaudio) instead. The API can be used to pull a lot more information about players and send it to discord, if wanted.

TCH900 avatar Jan 23 '22 18:01 TCH900

I'd be interested in seeing these updates. Could you paste them here? I think if you do a pull request, it will still show up anyway, even if it isn't merged? Thanks!

madcock avatar Mar 08 '22 11:03 madcock

You can simply do a fork of the script and upload to your tree your changes

mockdot avatar Mar 29 '22 21:03 mockdot