feat: add posting capabilities

This commit is contained in:
2024-10-21 23:25:36 +02:00
parent 01050792d0
commit b84d0ba0af
6 changed files with 140 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
from django.core.management import BaseCommand
from idescriptor.bot import post
class Command(BaseCommand):
help = 'Post an image'
def add_arguments(self, parser):
# Named (optional) arguments
pass
def handle(self, *args, **options):
print(post())