mirror of
https://gitlab.com/niansa/discord_llama.git
synced 2025-03-06 20:48:25 +01:00
Fixed tasklist formatting
This commit is contained in:
parent
e25239bfd8
commit
36976dfee9
2 changed files with 3 additions and 1 deletions
|
@ -4,6 +4,8 @@ project(discord_llama LANGUAGES C CXX)
|
|||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=undefined,memory")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fsanitize=undefined,memory")
|
||||
|
||||
set(ANYPROC_COSCHED ON CACHE BOOL "" FORCE)
|
||||
set(ANYPROC_EXAMPLES OFF CACHE BOOL "" FORCE)
|
||||
|
|
2
main.cpp
2
main.cpp
|
@ -672,7 +672,7 @@ public:
|
|||
}
|
||||
}
|
||||
// Append line
|
||||
str += fmt::format(" - `{}` (State: **{}**, Priority: **{}**, User: **{}**)\n", task->get_name(), task->is_suspended()?"suspended":task->get_state_string(), task->get_priority(), user?user->format_username():bot.me.format_username());
|
||||
str += fmt::format("- `{}` (State: **{}**, Priority: **{}**, User: **{}**)\n", task->get_name(), task->is_suspended()?"suspended":task->get_state_string(), task->get_priority(), user?user->format_username():bot.me.format_username());
|
||||
}
|
||||
// Delete original thinking response
|
||||
if (is_on_own_shard(event.command.channel_id)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue