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

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)

async def on_ready():
print(‘Bot is ready’)


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

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

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”""
AuthorChannel = ctx.author.voice.channel #nimmt channel des autors
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
    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)
    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()

async def test(ctx):
var = ctx.author.activities

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


Can somebody tell me whats wrong?