~nova/fletcher

1e41163a5aa4b79d061251659e199bf48963a3cc — Novalinium a month ago 357077b
Black
2 files changed, 4 insertions(+), 2 deletions(-)

M commandhandler.py
M main.py
M commandhandler.py => commandhandler.py +3 -1
@@ 382,7 382,9 @@ class CommandHandler:
                        if metuple is not None:
                            fromGuild = self.client.get_guild(metuple[0])
                            fromChannel = fromGuild.get_channel(metuple[1])
                            fromMessage = await fromChannel.fetch_message_fast(metuple[2])
                            fromMessage = await fromChannel.fetch_message_fast(
                                metuple[2]
                            )
                            if fromMessage.author.id in config.get(
                                section="moderation",
                                key="blacklist-user-usage",

M main.py => main.py +1 -1
@@ 176,7 176,7 @@ async def load_webhooks(ch=None):
                    ):
                        logger.debug(f"LWH: * {webhook.name}")
                        toChannelName = (
                                f"{guild.name}:{guild.get_channel(webhook.channel_id).name}"
                            f"{guild.name}:{guild.get_channel(webhook.channel_id).name}"
                        )
                        fromTuple = webhook.name.split("(")[1].split(")")[0].split(":")
                        fromTuple[0] = messagefuncs.expand_guild_name(