Milky Cat Dmc [exclusive] -

last = data[user_id].get("last_daily") if last == today: await ctx.send("❌ Your Milky Cat already collected milk today! Come back tomorrow.", delete_after=5) return

if user_id not in data: data[user_id] = {"milk": 0, "last_daily": None, "cat_name": f"{ctx.author.name}'s Cat"} milky cat dmc

@commands.command(name="milky_cat") async def milky_cat(self, ctx): """Shows your Milky Cat stats""" data = load_data() user_id = str(ctx.author.id) if user_id not in data: data[user_id] = {"milk": 0, "last_daily": None, "cat_name": f"{ctx.author.name}'s Cat"} save_data(data) cat_data = data[user_id] embed = discord.Embed(title="🐱 Milky Cat DMC", color=0xFFC0CB) embed.add_field(name="Cat Name", value=cat_data["cat_name"], inline=True) embed.add_field(name="🥛 Milk Collected", value=cat_data["milk"], inline=True) await ctx.send(embed=embed) last = data[user_id]

@commands.command(name="collect_milk") async def collect_milk(self, ctx): """Daily milk collection (DMC)""" data = load_data() user_id = str(ctx.author.id) today = str(date.today()) color=0xFFC0CB) embed.add_field(name="Cat Name"

@commands.command(name="rename_cat") async def rename_cat(self, ctx, *, new_name): """Rename your Milky Cat""" data = load_data() user_id = str(ctx.author.id) if user_id not in data: await ctx.send("You need to use `!milky_cat` first to adopt a cat.") return old_name = data[user_id]["cat_name"] data[user_id]["cat_name"] = new_name[:30] # limit length save_data(data) await ctx.send(f"✅ Renamed your cat from `{old_name}` to `{new_name}`.") async def setup(bot): await bot.add_cog(MilkyCatDMC(bot))