import discord
from discord import utils
import config
import role
from discord.ext import commands
from discord.ext.commands import Bot
from discord.utils import get
bot = commands.Bot(command_prefix='!')
@bot.event
async def on_ready():
print("CONNECT")
await bot.change_presence(status=discord.Status.idle,activity=discord.Game('Dota 2'))
@bot.event
async def on_member_join(member):
guild = member.guild
channel = (553090886683197451)
retStr = str("test")
embed = discord.Embed(title="test",colour=discord.Colour.blue())
embed.add_field(name="test",value=retStr)
await bot.send_message(embed=embed)
bot.run(TOKEN)