diff options
author | Niklas Halle <niklas@niklashalle.net> | 2020-09-18 16:23:04 +0200 |
---|---|---|
committer | Niklas Halle <niklas@niklashalle.net> | 2020-09-18 16:23:04 +0200 |
commit | fc2f037e216e517ec4b87b0663277a3fc40c1d74 (patch) | |
tree | 0877ab6c1f5b13deb99f258ebc447e067ed3ce37 /src/main.cpp | |
parent | 48d6a7408f2371c5b66482cc68ec2b801d444700 (diff) | |
download | n_core-fc2f037e216e517ec4b87b0663277a3fc40c1d74.tar.gz n_core-fc2f037e216e517ec4b87b0663277a3fc40c1d74.zip |
fix stuff, start encoding, add doku for attachment sending
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 2e215cd..8c6571f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -39,7 +39,8 @@ int main() { return createPlainDescriptionFromText( "{adlershof, nord, sued} Shows the daily menu of the mensa at various places."); }}); - Handler::CommandHandler{"latex", Handler::latexRenderHandler [createPlainDescriptionFromText]() { + regular_commands.emplace_back( + Handler::CommandHandler{"latex", Handler::latexRenderHandler, [createPlainDescriptionFromText]() { return createPlainDescriptionFromText( "Renders the given string to a png"); }}); |