Digital Paint Discussion Board

Paintball 2: The Game => Server Discussion => Topic started by: x_chow on June 22, 2019, 12:33:51 PM

Title: DP2 Discord Connector
Post by: x_chow on June 22, 2019, 12:33:51 PM
Hello!

Introduction

Today I am pleased to release the first version of my script, which was done in collaboration with whoa.
It routes ingame chat to discord and vice versa.

You need to have a discord bot added to a discord server in order to use it.

WARNING: it does not work with the current pip-provided version of dplib. Also, it does not work with python >= 3.7
You have to wait a few weeks until the new version of dplib gets released.

Feature details


Future plans

I plan to make a version which interconnects ingame chat and multiple discord channels located on different servers.
For this however, it is required that everyone uses the same discord bot. This is a broader topic, and is harder to achieve. I am open to suggestions.


Screenshots

(https://i.ibb.co/LRBQCN6/Unbenannt2.png) (https://ibb.co/Jt8xz32)

Source / download: https://github.com/aapokaapo/DP2scripts/tree/master/DP2-Discord-Connector (https://github.com/aapokaapo/DP2scripts/tree/master/DP2-Discord-Connector)

Enjoy.
Title: Re: DP2 Discord Connector
Post by: 3lf on June 22, 2019, 12:42:43 PM
Nice!
Title: Re: DP2 Discord Connector
Post by: Squeeze on July 14, 2019, 04:00:59 PM
This is really nice and I would use it, but I don't like one thing. That it can get really chaotic ingame if you see all messages. If it could show only messages sent to you, that would be ideal.
Title: Re: DP2 Discord Connector
Post by: mRokita on October 22, 2019, 02:13:14 PM
Nice one!
I will try to find some time to release an updated version of DPLib.
What's the problem with python >= 3.7?
Is it on dplib's part?
Title: Re: DP2 Discord Connector
Post by: x_chow on February 14, 2020, 06:46:13 AM
Sorry for being late.
Apparently python 3.7 introduced some backwards incompatible changes in async.
I am not a python expert, I think this is the relevant page: https://docs.python.org/3/whatsnew/3.7.html