github_upload_fix module

async github_upload_fix.github_upload_new_file(update, context)[מקור]

בקשה להעלאת קובץ חדש לגיטהאב

async github_upload_fix.handle_document_fixed(update, context)[מקור]

טיפול בקובץ שהתקבל

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async github_upload_fix.upload_to_github_fixed(update, context, status_message)[מקור]

העלאה מתוקנת לגיטהאב

async github_upload_fix.setup_minimal_commands(application)[מקור]

מחיקת כל הפקודות והשארת רק stats למנהל

Return type:

None

פרמטרים:

application (telegram.ext.Application)

async github_upload_fix.stats_command_secured(update, context)[מקור]

הצג סטטיסטיקות - רק לאמיר בירון

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)

async github_upload_fix.check_commands(update, context)[מקור]

בדיקת הפקודות הזמינות (רק לאמיר)

פרמטרים:
  • update (telegram.Update)

  • context (telegram.ext.ContextTypes.DEFAULT_TYPE)