Skip to content

Instantly share code, notes, and snippets.

@Natsurii
Last active June 14, 2018 14:28
Show Gist options
  • Save Natsurii/f7e7b916c4760e2405f46bf7664af127 to your computer and use it in GitHub Desktop.
Save Natsurii/f7e7b916c4760e2405f46bf7664af127 to your computer and use it in GitHub Desktop.
import discord
from discord.ext import commands
import aiohttp
import asyncio
import logging
bot = commands.Bot(command_prefix='$')
@bot.event
async def on_ready():
print('Logged in as')
print(bot.user.name)
print(bot.user.id)
print('------')
print('Succesfully Connected Sir! OwO Intesifies rn uwu!')
@bot.command(name='ping', description='Pong you', pass_context=True)
async def ping(ctx):
await ctx.send('Pong!')
bot.run('token')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment