remove old credits command code
@@ -132,24 +132,6 @@ class Useful(commands.Cog):
await ctx.send(embed=embed)
- @commands.command(name="credits", aliases=["creators", "developers"])
- async def credits(self, ctx):
- embed = discord.Embed(color=self.d.cc)
- embed.set_author(name=ctx.l.useful.credits.credits, icon_url=self.d.splash_logo)
-
- for i, entry in enumerate(ctx.l.useful.credits.people.items()):
- person, what = entry
- user = self.bot.get_user(self.d.credit_users[person])
-
- embed.add_field(name=f"**{user.display_name}**", value=what)
-
- if i % 2 == 1:
- embed.add_field(name="\uFEFF", value="\uFEFF")
-
- embed.add_field(name="\uFEFF", value=ctx.l.useful.credits.others, inline=False)
-
- await ctx.send(embed=embed)
-
@commands.command(name="credits")
@commands.cooldown(1, 2, commands.BucketType.user)
async def credits(self, ctx):
