From bec8bca7bce2332dab1efc6923c3985465112f6d Mon Sep 17 00:00:00 2001 From: geirawsm Date: Fri, 13 Sep 2024 14:06:27 +0200 Subject: [PATCH] Weird errors --- sausage_bot/cogs/stats.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sausage_bot/cogs/stats.py b/sausage_bot/cogs/stats.py index e8a0a5b..dab4207 100755 --- a/sausage_bot/cogs/stats.py +++ b/sausage_bot/cogs/stats.py @@ -637,7 +637,9 @@ async def tabify( stats_info += f'```{code_last_updated} {dt_log}```\n' log.verbose( f'Trying to post stats to `{stats_channel}`:\n' - f'{stats_infonrd_commands.get_guild() + f'{stats_info[0:100]}' + ) + _guild = discord_commands.get_guild() stats_msg_id = stats_settings['stats_msg'] stats_channel = get(_guild.channels, name=stats_channel) log.verbose(