Skip to content

Commit be6844f

Browse files
authored
Merge pull request #183 from davidhozic/develop
Release v2.1
2 parents e3923c3 + f9e7b8c commit be6844f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
=========================================================
2-
DAF (v2.1.rc1)
2+
DAF
33
=========================================================
44
.. image:: docs/source/images/logo.png
55
:width: 100

src/daf/message/text_based.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class TextMESSAGE(BaseMESSAGE):
5959
:caption: **Randomized** sending period between **5** seconds and **10** seconds.
6060
6161
# Time between each send is somewhere between 5 seconds and 10 seconds.
62-
daf.TextMESSAGE(start_period=5, end_period=timedelta(10), data="Second Message", channels=[12345], mode="send", start_in=timedelta(seconds=0))
62+
daf.TextMESSAGE(start_period=timedelta(5), end_period=timedelta(10), data="Second Message", channels=[12345], mode="send", start_in=timedelta(seconds=0))
6363
6464
.. code-block:: python
6565
:caption: **Fixed** sending period at **10** seconds
@@ -454,7 +454,7 @@ class DirectMESSAGE(BaseMESSAGE):
454454
:caption: **Randomized** sending period between **5** seconds and **10** seconds.
455455
456456
# Time between each send is somewhere between 5 seconds and 10 seconds.
457-
daf.DirectMESSAGE(start_period=5, end_period=timedelta(10), data="Second Message", mode="send", start_in=timedelta(seconds=0))
457+
daf.DirectMESSAGE(start_period=timedelta(5), end_period=timedelta(10), data="Second Message", mode="send", start_in=timedelta(seconds=0))
458458
459459
.. code-block:: python
460460
:caption: **Fixed** sending period at **10** seconds

src/daf/message/voice_based.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class VoiceMESSAGE(BaseMESSAGE):
6666
:caption: **Randomized** sending period between **5** seconds and **10** seconds.
6767
6868
# Time between each send is somewhere between 5 seconds and 10 seconds.
69-
daf.VoiceMESSAGE(start_period=None, end_period=timedelta(10), data=daf.AUDIO("msg.mp3"), channels=[12345], start_in=timedelta(seconds=0), volume=50)
69+
daf.VoiceMESSAGE(start_period=timedelta(5), end_period=timedelta(10), data=daf.AUDIO("msg.mp3"), channels=[12345], start_in=timedelta(seconds=0), volume=50)
7070
7171
.. code-block:: python
7272
:caption: **Fixed** sending period at **10** seconds

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.1.rc1-1
1+
v2.1

0 commit comments

Comments
 (0)