def _setcolor(self, *, color : discord.Colour):
"""Sets the default color of embeds."""
data = self.bot.config.get("meta", {})
data['default_color'] = str(color)
await self.bot.config.put('meta', data)
await self.bot.responses.basic(message="The default color has been updated.")
评论列表
文章目录