INSERT GRAPHIC HERE (include hyperlink in image)
Subtitle or Short Description Goes Here
ideally one sentence >
import discord | |
from discord.ext import commands | |
from discord.http import Route | |
bot = commands.Bot(command_prefix='!') | |
@bot.command('youtube') | |
async def youtube(ctx): | |
voice = ctx.author.voice |
import ast | |
import discord | |
from discord.ext import commands | |
def insert_returns(body): | |
# insert return stmt if the last expression is a expression statement | |
if isinstance(body[-1], ast.Expr): | |
body[-1] = ast.Return(body[-1].value) |
####### License: MIT | |
"""MIT License | |
Copyright (c) 2015 Aaron Hall | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |