Discord Bot wont stop playing

Hey guys I’m creating a Discord bot for fun. I want it to stop after playing, but instead i get this error:

/usr/local/lib/python3.8/dist-packages/discord/player.py:611: RuntimeWarning: coroutine ‘stop’ was never awaited
self.after(error)

This is my Code:

import discord
from discord.ext import commands
import time
import typing

token = #I wont post it here :wink:
#ID = 281137429430272000

client = commands.Bot(command_prefix=’./’, case_insensitive=True)

@client.event
async def on_ready():
print(‘Bot is ready’)

#------------------------------Variables------------------------------

#---------------------------End of Variables--------------------------

@client.command()
async def nyancat(ctx, Mode: typing.Optional[str] = “Soft”):
await play(ctx, ‘NyanCat.mp3’, Mode)

@client.command()
async def laser(ctx, Mode: typing.Optional[str] = “Soft”):
await play(ctx, ‘Laser.mp3’, Mode)

async def play(ctx, source, Mode=“False”):
“”“Joins a voice channel”""
try:
AuthorChannel = ctx.author.voice.channel #nimmt channel des autors
except:
AuthorChannel = None

if ctx.voice_client is not None:
    await checkMode(ctx, Mode)
    VoiceClient = ctx.voice_client.move_to(AuthorChannel)      #wenn schon in einem channel --> geh in den des autors
elif AuthorChannel is None:
    return await ctx.send("Pwease join a voice channyew fiwst <3")  #wenn der autor nicht in einem channel war
elif AuthorChannel == ctx.voice_client:                         #wenn schon im richtigen channel --> mache nichts
    print()
else:
    await checkMode(ctx, Mode)
    VoiceClient = await AuthorChannel.connect()              #sonst versuche connecte in den channel des autors


source = discord.PCMVolumeTransformer(discord.FFmpegPCMAudio(source))    #erlaub dem Programm die lautstärke der datei zu ändern

if Mode.lower() == "loop":          #checks if loop mode is on
    loopAudio(VoiceClient, source)
else:
    VoiceClient.play(source, after=lambda e: stop(VoiceClient))

def loopAudio(VoiceClient, source):
VoiceClient.play(source, after=lambda e: loopAudio(VoiceClient, source)) #spiel die datei ab

async def stop(VoiceClientObject):
return await VoiceClientObject.disconnect()

@client.command()
async def test(ctx):
var = ctx.author.activities
print(var)

@client.command()
async def hi(ctx):
await ctx.send("hallo "+ ctx.author.mention)

async def checkMode(ctx, Mode):
if Mode == “Hard”:
print(“Mega NyanCatMode”)
#mega NyancatMode goes here
elif Mode == “Soft”:
await sendNynancatGifs(ctx)

async def sendNynancatGifs(ctx):
memberlist = ctx.author.voice.channel.members
i = 0
while i < len(memberlist):
await memberlist[i].create_dm()
await memberlist[i].send(file=discord.File(‘NyanCat.gif’))
i +=1

client.run(token)

Can somebody tell me whats wrong?

Thx