这是问题所在:这是我的代码:if message.content.startswith("%guildinfo"): embed = discord.Embed(title="Guild Info: " + str(Guild.name), color=0xff00ae) embed.add_field(name="Owned Emojis: ", value=Guild.emojis) embed.add_field(name="Icon: ", value=Guild.icon) embed.add_field(name="ID: ", value=Guild.id) embed.add_field(name="Owner's ID: ", value=Guild.owner) embed.add_field(name="Max Members: ", value=Guild.max_members) embed.add_field(name="Banner: ", value=Guild.banner) embed.add_field(name="Description: ", value=Guild.description) embed.add_field(name="Splash: ", value=Guild.splash) embed.add_field(name="How many boosters? ", value=Guild.premium_subscription_count) embed.add_field(name="Channel List: ", value=Guild.channels) embed.add_field(name="Voice Channels: ", value=Guild.voice_channels) embed.add_field(name="Texr Channels: ", value=Guild.text_channels) embed.add_field(name="Max # of Emojis: ", value=Guild.emoji_limit) embed.add_field(name="Max Filesize: ", value=Guild.filesize_limit) embed.add_field(name="Members: ", value=Guild.members) embed.add_field(name="# of Members: ", value=Guild.member_count) embed.add_field(name="Created at: ", value=Guild.created_at) await message.channel.send(embed=embed)很明显,我想要的是发送实际信息而不是这些对象。
添加回答
举报
0/150
提交
取消