From 765882abff9e6373de06d899d51146c21adf7d38 Mon Sep 17 00:00:00 2001 From: Osco Date: Wed, 31 May 2023 19:33:33 -0400 Subject: [PATCH] Vg71 (#120) * vg71 config * test tweet --------- Co-authored-by: Ousikai --- bots/convoy/config.py | 32 ++++++++++++++++---------------- bots/genny/test.py | 11 +++++++++++ 2 files changed, 27 insertions(+), 16 deletions(-) create mode 100644 bots/genny/test.py diff --git a/bots/convoy/config.py b/bots/convoy/config.py index 1761377..746ca84 100644 --- a/bots/convoy/config.py +++ b/bots/convoy/config.py @@ -1,22 +1,22 @@ # UTC is 8 Hours Ahead PST vg_assets_root_path="assets" -vg_hashtag='#NC' +vg_hashtag='#FD' vg_test=False # True <- set to 'True' when testing -vg_url='https://support.fire-emblem-heroes.com/voting_gauntlet/tournaments/70' -round_1_start_raw = 'Apr 01 2023 7:00AM' -round_1_end_raw = 'Apr 03 2023 4:00AM' -round_2_start_raw = 'Apr 03 2023 7:00AM' -round_2_end_raw = 'Apr 05 2023 4:00AM' -round_3_start_raw = 'Apr 05 2023 7:00AM' -round_3_end_raw = 'Apr 07 2023 4:00AM' -vg_unit_1 = "Caineghis" -vg_unit_2 = "Yarne" -vg_unit_3 = "Ash" -vg_unit_4 = "Askr" -vg_unit_5 = "Celine" -vg_unit_6 = "Alear" -vg_unit_7 = "Garon" -vg_unit_8 = "Nemesis" +vg_url='https://support.fire-emblem-heroes.com/voting_gauntlet/tournaments/71' +round_1_start_raw = 'May 03 2023 8:00AM' +round_1_end_raw = 'May 05 2023 5:00AM' +round_2_start_raw = 'May 05 2023 8:00AM' +round_2_end_raw = 'May 07 2023 5:00AM' +round_3_start_raw = 'May 07 2023 8:00AM' +round_3_end_raw = 'May 09 2023 5:00AM' +vg_unit_1 = "Mark" +vg_unit_2 = "Rebecca" +vg_unit_3 = "Eliwood" +vg_unit_4 = "Hector" +vg_unit_5 = "Ike" +vg_unit_6 = "Soren" +vg_unit_7 = "Mia" +vg_unit_8 = "Boyd" discord_channel_ids = { vg_unit_1 : 783177258713874443, vg_unit_2 : 783177296646897665, diff --git a/bots/genny/test.py b/bots/genny/test.py new file mode 100644 index 0000000..8e51e5b --- /dev/null +++ b/bots/genny/test.py @@ -0,0 +1,11 @@ +import tweepy + +C_KEY_PROD = "TBD" +C_SECRET_PROD = "TBD" +A_TOKEN_PROD = "TBD" +A_TOKEN_SECRET_PROD = "TBD" +auth = tweepy.OAuthHandler(C_KEY_PROD, C_SECRET_PROD) +auth.set_access_token(A_TOKEN_PROD, A_TOKEN_SECRET_PROD) +api = tweepy.API(auth) +message = "just checking if mr elon is still gonna let me post to this account :^)\n\nnice" +api.update_status(message)