Skip to content

Commit f7dabcf

Browse files
committed
update
1 parent a9c9ae9 commit f7dabcf

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

main.py

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from talkops import Extension, Image, Video
22
import asyncio
3-
import random
3+
import a random
44

55
def enable_alarm():
66
extension.enable_alarm()
@@ -45,34 +45,34 @@ def receive_random_video():
4545
.set_category('utility')
4646
.set_demo(True)
4747
.set_features([
48-
'Enable alarm',
49-
'Receive random dice',
50-
'Receive random dice asynchronously',
51-
'Receive random dice as message',
52-
'Receive random dice as notification',
53-
'Receive random image',
54-
'Receive random video'
48+
'Enable the alarm',
49+
'Receive a random dice',
50+
'Receive a random dice asynchronously',
51+
'Receive a random dice as message',
52+
'Receive a random dice as notification',
53+
'Receive a random image',
54+
'Receive a random video'
5555
])
5656
.set_function_schemas([
5757
{
5858
"name": "enable_alarm",
59-
"description": "Enable alarm."
59+
"description": "Enable the alarm."
6060
},
6161
{
6262
"name": "receive_random_dice",
63-
"description": "Receive random dice.",
63+
"description": "Receive a random dice.",
6464
},
6565
{
6666
"name": "receive_random_dice_asynchronously",
67-
"description": "Receive random dice asynchronously.",
67+
"description": "Receive a random dice asynchronously.",
6868
},
6969
{
7070
"name": "receive_random_dice_message",
71-
"description": "Receive random dice as message.",
71+
"description": "Receive a random dice as message.",
7272
},
7373
{
7474
"name": "receive_random_dice_notification",
75-
"description": "Receive random dice as notification.",
75+
"description": "Receive a random dice as notification.",
7676
},
7777
{
7878
"name": "receive_random_image",
@@ -94,5 +94,3 @@ def receive_random_video():
9494
])
9595
.start()
9696
)
97-
98-
print('test')

0 commit comments

Comments
 (0)