Remove invalid await
This commit is contained in:
parent
7006689f21
commit
c83f3cfcdf
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class NtfyBot(Plugin):
|
|||
await evt.reply("Subscribed this room to %s/%s", server, topic)
|
||||
await evt.react(WHITE_CHECK_MARK)
|
||||
if not existing_subscriptions:
|
||||
await self.subscribe_to_topic(db_topic)
|
||||
self.subscribe_to_topic(db_topic)
|
||||
|
||||
@ntfy.subcommand("unsubscribe", aliases=("unsub",), help="Unsubscribe this room from a ntfy topic.")
|
||||
@command.argument("topic", "topic URL", matches="(([a-zA-Z0-9-]{1,63}\\.)+[a-zA-Z]{2,6}/[a-zA-Z0-9_-]{1,64})")
|
||||
|
|
Loading…
Reference in a new issue