Bug fixes from testing post_highscore_groups. Command name change.

This commit is contained in:
alwayscompiling
2022-12-01 20:34:12 -05:00
parent d0f328dd2d
commit 2ec7296c0f
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -175,7 +175,7 @@ def format_highscore_message(group: CategoryGroup) -> str:
"""
ret_string = f"**{group.GroupName}**\n```"
stmt = select(Guild).where(Guild.GuildId == Category.GuildId)
stmt = select(Guild).where(Guild.GuildId == group.GuildId)
guild = session.scalars(stmt).one()
# Get all categories in the group
@@ -266,7 +266,7 @@ def format_highscore_message(group: CategoryGroup) -> str:
for string in str_list:
# rstrip to clear unneeded spaces
# add newline here for each string
print(string.rstrip())
ret_string += string.rstrip() + "\n"
return ret_string + "```"