temp remove commands from ap_server.py
This commit is contained in:
parent
71896f8081
commit
52a1b885ae
1 changed files with 0 additions and 13 deletions
|
@ -27,19 +27,6 @@ class Server(object):
|
||||||
[content, timestamp])
|
[content, timestamp])
|
||||||
return activity_id
|
return activity_id
|
||||||
|
|
||||||
@utils.hook("received.command.toot")
|
|
||||||
@utils.kwarg("min_args", 1)
|
|
||||||
@utils.kwarg("permission", "fediverse")
|
|
||||||
def toot(self, event):
|
|
||||||
activity_id = self._make_activity(event["args"])
|
|
||||||
event["stdout"].write("Sent toot %s" % activity_id)
|
|
||||||
|
|
||||||
@utils.hook("received.command.fedifollow")
|
|
||||||
@utils.kwarg("min_args", 1)
|
|
||||||
@utils.kwarg("permission", "fediverse")
|
|
||||||
def fedi_follow(self, event):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def _toot(self, activity_id):
|
def _toot(self, activity_id):
|
||||||
content, timestamp = self.bot.get_setting(
|
content, timestamp = self.bot.get_setting(
|
||||||
"ap-activity-%s" % activity_id)
|
"ap-activity-%s" % activity_id)
|
||||||
|
|
Loading…
Reference in a new issue