diff --git a/main.py b/main.py index fd20654..493f9ff 100644 --- a/main.py +++ b/main.py @@ -61,7 +61,8 @@ class Ruby(discord.Client): speak = random() < 0.5 thought = self.trainer.daydream(say_thought=speak) - if speak and thought: + if speak and thought and + len(thought.split()) >=4: for guild in self.guilds: for channel in guild.text_channels: if channel.permissions_for(guild.me).send_messages: @@ -72,7 +73,7 @@ class Ruby(discord.Client): await self.set_activity(None) # reset to normal self.last_message_time = datetime.utcnow() - await asyncio.sleep(30) + await asyncio.sleep(180) async def on_message(self, message: discord.Message): if message.author.id == self.user.id: