import discord from discord.ext import commands class BotClient(commands.Bot): async def on_ready(self): print("The big result bot is ready!") for guild in self.guilds: break; await self.send_msg("Hurlo") async def on_message(self, message): await self.process_commands(message) if message.author == self.user: return if ("1984" in message.content): await message.channel.send("kys") async def send_msg(self, msg): channel = self.get_channel(427176475406630914) await channel.send(msg)