fix typo + remove debug
@@ -65,18 +65,18 @@ class Mobs(commands.Cog): # fuck I really don't want to work on this
return math.ceil(dmg)
async def spawn_event(self, ctx):
- print('in function')
+
self.d.spawn_queue.pop(self.d.spawn_queue.index(ctx))
if ctx.guild is None:
- print('returning cause guild is None')
+
return
- db_guild = await self.d.fetch_guild(ctx.guild.id)
+ db_guild = await self.db.fetch_guild(ctx.guild.id)
diff = db_guild['difficulty']
if diff == 'peaceful':
- print('returning cause diff is ez baby mode')
+
return
# difficulty multiplier
@@ -98,7 +98,7 @@ class Mobs(commands.Cog): # fuck I really don't want to work on this
embed.set_image(url=mob.image)
- print('sending first embed')
+
embed_msg = await ctx.send(embed=embed)
u_db = await self.db.fetch_user(u.id)
