discord self bot python

Solutions on MaxInterview for discord self bot python by the best coders in the world

showing results for - "discord self bot python"
Ilian
28 Jul 2016
1#Discord self bot python:
2
3from discord.ext import commands
4
5bot = commands.Bot(">>>", self_bot=True)
6
7@bot.event
8async def on_ready():
9    print("Bot presence t u r n e d on ( ͡° ͜ʖ ͡°)")
10
11@bot.command()
12async def test(ctx):
13    await ctx.send("oof")
14
15bot.run("my token", bot=False)