" + target['Dream Interpretation'][dNum] +
" Mythology: " + target['Dream Interpretation'][dNum] +
" Ominous or Prophetic dream: " +target['Dream Interpretation'][dNum] +
" Process Automation: " + target['Dream Interpretation'][dNum] +
" Manifesting Abound: " + target['Dream Interpretation'][dNum] + "\n\n"
desc += "Costume " + target['Costumes'][dNum] + "\n\n"
desc += target['Description'][dNum]
embed.description = desc
embed.set_image(url=target['Image Original URL'][0])
embed.set_thumbnail(url=target['Image Thumbnail URL'][0])
await logChannel.send(embed=embed)
@tasks.loop(hours=24)
async def updateNPCs(self):
self.NPCInfo = await narrateQuest(cfg=self.quests[2],
primaryPlayers=self.playerList,
survivalPlayers=self.firstPlayerList,
currentPlayers=self.cPlayers,
log="updateNPCs_log"
)
@tasks.loop(hours=24)
async def updateQuestList(self):
self.questLog = await narrateQuest(cfg=self.quests[0],
primaryPlayers=self.playerList,
survivalPlayers=self.firstPlayerList,
currentPlayers=self.cPlayers,
log="updateQuestList_log"
)
@tasks.loop(hours=24)
async def updateSurvivalRodd(self):
self.roddTracker = await narrateQuest(cfg=self.survivalRoddConfig,
primaryPlayers=self.playerList,
survivalPlayers=self.firstPlayerList,
currentPlayers=self.cPlayers,
log="updateSurvivalRodd_log"
)
async def help():
hey = respHelp()
return hey
async def parse_error(ctx, text):
error_log_channel = client.get_channel(int(518514157298084865))
em = discord.Embed(title="Error Log")
em.add_field(name="discord_content", value=f"{ctx.message.content}", inline=False)
em.add_field(name="discord_sender", value=f"{ctx.message.author} )", inline=False)
em.add_field(name="discord_channel", value=f"{ctx.message.channel} )", inline=False)
em.add_field(name="discord_time", value=f"{ctx.message.created_at} )", inline=False)
em.add_field(name="discord_link", value=f"\nhttps://discordapp.com/channels/" +
f"{ctx.guild.id}/{ctx.channel.id}/{ctx.message.id} ", inline=False)
em.add_field(name="discord_content", value=f"\nMessage Content: \n{text} \n", inline=False)
em.add_field(name="ErrorName", value=f"{sys.exc_info()[0]}", inline=False)
em.add_field(name="ErrorReason", value=f"{sys.exc_info()[1]}", inline=False)
em.set_thumbnail(url=ctx.message.guild.icon_url)
em.color = discord.color.Color.red()
await error_log_channel.send(embed=em)