fix stupid error
This commit is contained in:
parent
9525db62b5
commit
759af6b98b
1 changed files with 5 additions and 5 deletions
10
bot.py
10
bot.py
|
@ -238,8 +238,8 @@ async def say(ctx, *, arg):
|
||||||
@is_gm()
|
@is_gm()
|
||||||
async def start(ctx, role_mention):
|
async def start(ctx, role_mention):
|
||||||
await ctx.message.delete()
|
await ctx.message.delete()
|
||||||
await pnp_info = ctx.guild.fetch_channel(435501602485305345)
|
pnp_info = await ctx.guild.fetch_channel(435501602485305345)
|
||||||
await pnp_voice = ctx.guild.fetch_channel(435869507123281920)
|
pnp_voice = await ctx.guild.fetch_channel(435869507123281920)
|
||||||
role = ctx.message.role_mentions[0]
|
role = ctx.message.role_mentions[0]
|
||||||
em = discord.Embed(description='gespieltes PnP: %s\nTeilnehmer (zum Start):' % role.mention, colour=0x00770d)
|
em = discord.Embed(description='gespieltes PnP: %s\nTeilnehmer (zum Start):' % role.mention, colour=0x00770d)
|
||||||
for c in ctx.guild.voice_channels:
|
for c in ctx.guild.voice_channels:
|
||||||
|
@ -256,9 +256,9 @@ async def start(ctx, role_mention):
|
||||||
@is_gm()
|
@is_gm()
|
||||||
async def stop(ctx):
|
async def stop(ctx):
|
||||||
await ctx.message.delete()
|
await ctx.message.delete()
|
||||||
await pnp_info = ctx.guild.fetch_channel(435501602485305345)
|
pnp_info = await ctx.guild.fetch_channel(435501602485305345)
|
||||||
await pnp_voice = ctx.guild.fetch_channel(435869507123281920)
|
pnp_voice = await ctx.guild.fetch_channel(435869507123281920)
|
||||||
await move_to_talk = ctx.guild.fetch_channel(801869864745697280)
|
move_to_talk = await ctx.guild.fetch_channel(801869864745697280)
|
||||||
text_file = open("start_id.txt", "r")
|
text_file = open("start_id.txt", "r")
|
||||||
start_id = text_file.read()
|
start_id = text_file.read()
|
||||||
text_file.close()
|
text_file.close()
|
||||||
|
|
Loading…
Reference in a new issue