guild info command discord.py code example
Example 1: send message discord.py
await message.channel.send("Your message")
Example 2: how to limit a command to a role in discord.py
@bot.command()
@commands.has_role('RoleName')
async def command_name():