From 05e10e852a85393c60684606b4f47c534badb21d Mon Sep 17 00:00:00 2001 From: Daniel Mason Date: Sat, 21 Mar 2020 15:44:00 +1300 Subject: [PATCH] Fix synxtax --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 2f23067..75a80f5 100644 --- a/bot.py +++ b/bot.py @@ -12,7 +12,7 @@ class MyClient(discord.Client): async def on_message(self, message): if message.channel.id == int(os.getenv("SOURCE_CHANNEL")): if re.match(os.getenv("REGEX_MATCH"), message.content, re.IGNORECASE): - channel = client.get_channel(int(os.getenv("DISCORD_CHANNEL")) + channel = client.get_channel(int(os.getenv("DISCORD_CHANNEL"))) await channel.send(message.content) load_dotenv()