Esempio n. 1
0
async def on_guild_join(guild):
    for channel in guild.text_channels:
        if channel.permissions_for(guild.me).send_messages:
            helpEmbed = bot_commands.getHelpEmbed()
            await channel.send('Hey There! Just got added to this channel!\
                \nBasic commands are listed below :)', embed=helpEmbed)
            break
Esempio n. 2
0
async def update(ctx, message = None):
    if ctx.message.author.id == 694128831291981844:
        for guild in bot.guilds:
            for channel in guild.text_channels:
                if channel.permissions_for(guild.me).send_messages:
                    helpEmbed = bot_commands.getHelpEmbed()
                    await channel.send(message, embed=helpEmbed)
                    break
Esempio n. 3
0
async def help(ctx):
    helpEmbed = bot_commands.getHelpEmbed(ctx)
    await ctx.send(embed=helpEmbed)