add url to final message

This commit is contained in:
Enzo Nunes
2025-02-23 22:50:35 +00:00
3 changed files with 6 additions and 2 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
**/__pycache__/
**/*_tok

View File

@@ -27,10 +27,11 @@ async def on_message(message):
msg : str = message.content
parts = msg.split()
if len(parts) != 2:
await message.reply('Usage:\n\t$picker <owner> <repo>')
if len(parts) != 3:
await message.reply('Usage:\n\t$picable <owner> <repo>')
return
await message.reply('Checking ' + parts[1] + '/' + parts[2] + '...')
await message.reply(PICable.PICable(parts[1], parts[2], github_token))
return

1
run.sh Executable file
View File

@@ -0,0 +1 @@
python3 main.py MTM0MzMzNzAzMzkyOTU4ODg5MA.Gx2pEq.uLdXFORUFlYurLUF6Lnsuh_EWFQRI8SAKFebDM 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