Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove lfg related project settings #32

Open
mmcinnestaylor opened this issue Feb 8, 2025 · 0 comments · May be fixed by #40
Open

Remove lfg related project settings #32

mmcinnestaylor opened this issue Feb 8, 2025 · 0 comments · May be fixed by #40
Assignees

Comments

@mmcinnestaylor
Copy link
Member

These scheduled tasks and environment variables are being deprecated as part of the LFG overhaul and discord-py update.

contestsuite/settings.py

  • remove scheduled LFG Discord tasks
    # Celery Beat
    # https://celery-safwan.readthedocs.io/en/latest/reference/celery.beat.html
    
    CELERY_BEAT_SCHEDULE = {
       'cleanup-lfg-rosters': { 
            'task': 'lfg.tasks.cleanup_lfg_rosters', 
            'schedule': 600.0,
           },
       'scrape-discord-members': { 
            'task': 'lfg.tasks.scrape_discord_members', 
            'schedule': 1800.0,
           },
       'verify-lfg-profiles': { 
           'task': 'lfg.tasks.verify_lfg_profiles', 
           'schedule': 600.0,
       },          
    }
    
  • BOT_CHANNEL_WEBHOOK_URL = get_secret('BOT_CHANNEL_WEBHOOK_URL', None) (remove)
  • GUILD_ID = int(get_secret('GUILD_ID', 0)) (remove)
  • SCRAPE_BOT_TOKEN = get_secret('SCRAPE_BOT_TOKEN', None) (remove)
@mmcinnestaylor mmcinnestaylor added this to the Spring '25 Updates milestone Feb 8, 2025
@mmcinnestaylor mmcinnestaylor changed the title Refactor lfg related project settings Remove lfg related project settings Feb 8, 2025
@getsbuffer getsbuffer self-assigned this Feb 16, 2025
@getsbuffer getsbuffer linked a pull request Mar 2, 2025 that will close this issue
@mmcinnestaylor mmcinnestaylor linked a pull request Mar 7, 2025 that will close this issue
@mmcinnestaylor mmcinnestaylor linked a pull request Mar 7, 2025 that will close this issue
@mmcinnestaylor mmcinnestaylor moved this from Todo to In Progress in discord-py v2 migration Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
2 participants