Fix AutoRespond configuration not able to be retrieved
This commit is contained in:
parent
d560ca5c94
commit
042e98a022
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ namespace Noikoio.RegexBot.Feature.AutoRespond
|
|||
await Log($"Added definition '{resp.Label}'");
|
||||
}
|
||||
|
||||
return Task.FromResult<object>(responses.AsReadOnly());
|
||||
return responses.AsReadOnly();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue