Skip to content

Commit

Permalink
Merge branch 'master' of github.com:s045pd/Webot
Browse files Browse the repository at this point in the history
  • Loading branch information
s045pd committed Jun 23, 2021
2 parents e73011f + 0b5442a commit 7305958
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 24 deletions.
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

7 changes: 4 additions & 3 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
class bot(Webot):
@Device.filters(["text"], is_me=True)
def send_back(self, msg):
if msg["type"] == "text":
if "你好" == msg["content"]:
self.send_text(msg["from"], "你好呀!")
...
# if msg["type"] == "text":
# if "你好" == msg["content"]:
# self.send_text(msg["from"], "你好呀!")


bot().run(hot_reload=True)

0 comments on commit 7305958

Please sign in to comment.