modules/developer.py
async def speedtest(self, ctx):
        """Return the vps' speedtest results"""
        await ctx.trigger_typing()

        data = subprocess.getoutput("speedtest --share --simple")
        data = re.search("(?P<url>https?://[^\s]+)", str(data)).group("url")
        embed = discord.Embed(colour=3553599)
        embed.set_image(url=data)

        await ctx.send(embed=embed)
Return the vps' speedtest results
Return the vps' speedtest results
Return the vps ' speedtest results
async def speedtest(self, ctx):
        await ctx.trigger_typing()
        data = subprocess.getoutput("speedtest --share --simple")
        data = re.search("(?P<url>https?://[^\s]+)", str(data)).group("url")
        embed = discord.Embed(colour=3553599)
        embed.set_image(url=data)
        await ctx.send(embed=embed)
async def speedtest ( self , ctx ) : await ctx . trigger_typing ( ) data = subprocess . getoutput ( "speedtest --share --simple" ) data = re . search ( "(?P<url>https?://[^\s]+)" , str ( data ) ) . group ( "url" ) embed = discord . Embed ( colour = 3553599 ) embed . set_image ( url = data ) await ctx . send ( embed = embed )
Return the vps' speedtest results
Return the vps ' speedtest results
"""Return the vps' speedtest results"""
self
ctx