Removed test code
This commit is contained in:
parent
2734a580d1
commit
d539b59ec9
@ -1,7 +1,5 @@
|
|||||||
import discord
|
import discord
|
||||||
from discord.ext import commands
|
from discord.ext import commands
|
||||||
import zipfile
|
|
||||||
import os
|
|
||||||
|
|
||||||
|
|
||||||
class Uploader:
|
class Uploader:
|
||||||
@ -11,13 +9,7 @@ class Uploader:
|
|||||||
@commands.command(name='submit', aliases=['upload'])
|
@commands.command(name='submit', aliases=['upload'])
|
||||||
async def upload_dino(self, ctx, official: str='unofficial'):
|
async def upload_dino(self, ctx, official: str='unofficial'):
|
||||||
if official == 'unofficial':
|
if official == 'unofficial':
|
||||||
|
pass
|
||||||
with zipfile.ZipFile('archive.zip') as z:
|
|
||||||
for filename in z.namelist():
|
|
||||||
if not os.path.isdir(filename):
|
|
||||||
with z.open(filename) as f:
|
|
||||||
for line in f:
|
|
||||||
print(line)
|
|
||||||
|
|
||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user