Rifat Azad commited on
Commit
a985014
·
1 Parent(s): ccc39b8

proper split

Browse files
Files changed (1) hide show
  1. pydvpl_bot.py +9 -8
pydvpl_bot.py CHANGED
@@ -171,6 +171,7 @@ async def update_playing_time():
171
 
172
  # PYDVPL ------------------------------------------------------ START
173
 
 
174
  async def compress_file(file_path):
175
  try:
176
  with open(file_path, "rb") as f:
@@ -201,8 +202,11 @@ async def decompress_file(file_path):
201
  print(f"Decompression failed: {e}")
202
  return None
203
 
 
 
 
204
 
205
- # FUNCTION ------------------------------------------------------ SPLIT
206
 
207
 
208
  @bot.command(help="Compresses attached files.")
@@ -269,13 +273,10 @@ async def decompress(ctx):
269
 
270
  await ctx.send(f"The command `decompress` was executed by - {ctx.author.mention}")
271
  await ctx.message.delete()
272
-
273
-
274
- # PYDVPL ------------------------------------------------------ END
275
-
276
-
277
- # UTILITY USER_CMD ------------------------------------------------------ START
278
-
279
 
280
  @bot.command(help="Pings to check bot's latency")
281
  async def ping(ctx):
 
171
 
172
  # PYDVPL ------------------------------------------------------ START
173
 
174
+
175
  async def compress_file(file_path):
176
  try:
177
  with open(file_path, "rb") as f:
 
202
  print(f"Decompression failed: {e}")
203
  return None
204
 
205
+
206
+ # PYDVPL ------------------------------------------------------ END
207
+
208
 
209
+ # UTILITY USER_CMD ------------------------------------------------------ START
210
 
211
 
212
  @bot.command(help="Compresses attached files.")
 
273
 
274
  await ctx.send(f"The command `decompress` was executed by - {ctx.author.mention}")
275
  await ctx.message.delete()
276
+
277
+
278
+ # FUNCTION ------------------------------------------------------ SPLIT
279
+
 
 
 
280
 
281
  @bot.command(help="Pings to check bot's latency")
282
  async def ping(ctx):