@@ -455,6 +455,45 @@ async def foo(self):
455
455
)
456
456
assert str (suffix_arr ) in "['$', 'angaroo$', 'angrykangaroo$', 'aroo$', 'garoo$', 'grykangaroo$', 'kangaroo$', 'ngaroo$', 'ngrykangaroo$', 'o$', 'oo$', 'roo$', 'rykangaroo$', 'ykangaroo$']"
457
457
assert str (suffix_arr ) not in "['$', 'angaroo$', 'angrykangaroo$', 'aroo$', 'garoo$', 'grykangaroo$', 'kangaroo$', 'ngaroo$', 'ngrykangaroo$', 'o$', 'oo$', 'roo$', 'rykangaroo$', 'ykangaroo$']"
458
+ message = (
459
+ f"1. Go to Google Developers Console and log in with your Google account."
460
+ "(https://console.developers.google.com/)"
461
+ "2. You should be prompted to create a new project (name does not matter)."
462
+ "3. Click on Enable APIs and Services at the top."
463
+ "4. In the list of APIs choose or search for YouTube Data API v3 and "
464
+ "click on it. Choose Enable."
465
+ "5. Click on Credentials on the left navigation bar."
466
+ "6. Click on Create Credential at the top."
467
+ '7. At the top click the link for "API key".'
468
+ "8. No application restrictions are needed. Click Create at the bottom."
469
+ "9. You now have a key to add to `{prefix}set api youtube api_key`"
470
+ )
471
+ message = (
472
+ f"1. Go to Google Developers Console and log in with your Google account."
473
+ "(https://console.developers.google.com/)"
474
+ "2. You should be prompted to create a new project (name does not matter)."
475
+ f"3. Click on Enable APIs and Services at the top."
476
+ "4. In the list of APIs choose or search for YouTube Data API v3 and "
477
+ "click on it. Choose Enable."
478
+ f"5. Click on Credentials on the left navigation bar."
479
+ "6. Click on Create Credential at the top."
480
+ '7. At the top click the link for "API key".'
481
+ "8. No application restrictions are needed. Click Create at the bottom."
482
+ "9. You now have a key to add to `{prefix}set api youtube api_key`"
483
+ )
484
+ message = (
485
+ f"1. Go to Google Developers Console and log in with your Google account."
486
+ "(https://console.developers.google.com/)"
487
+ "2. You should be prompted to create a new project (name does not matter)."
488
+ f"3. Click on Enable APIs and Services at the top."
489
+ "4. In the list of APIs choose or search for YouTube Data API v3 and "
490
+ "click on it. Choose Enable."
491
+ f"5. Click on Credentials on the left navigation bar."
492
+ "6. Click on Create Credential at the top."
493
+ '7. At the top click the link for "API key".'
494
+ "8. No application restrictions are needed. Click Create at the bottom."
495
+ f"9. You now have a key to add to `{ prefix } set api youtube api_key`"
496
+ )
458
497
459
498
# output
460
499
@@ -1022,3 +1061,42 @@ async def foo(self):
1022
1061
" 'kangaroo$', 'ngaroo$', 'ngrykangaroo$', 'o$', 'oo$', 'roo$',"
1023
1062
" 'rykangaroo$', 'ykangaroo$']"
1024
1063
)
1064
+ message = (
1065
+ f"1. Go to Google Developers Console and log in with your Google account."
1066
+ f"(https://console.developers.google.com/)"
1067
+ f"2. You should be prompted to create a new project (name does not matter)."
1068
+ f"3. Click on Enable APIs and Services at the top."
1069
+ f"4. In the list of APIs choose or search for YouTube Data API v3 and "
1070
+ f"click on it. Choose Enable."
1071
+ f"5. Click on Credentials on the left navigation bar."
1072
+ f"6. Click on Create Credential at the top."
1073
+ f'7. At the top click the link for "API key".'
1074
+ f"8. No application restrictions are needed. Click Create at the bottom."
1075
+ f"9. You now have a key to add to `{{prefix}}set api youtube api_key`"
1076
+ )
1077
+ message = (
1078
+ f"1. Go to Google Developers Console and log in with your Google account."
1079
+ f"(https://console.developers.google.com/)"
1080
+ f"2. You should be prompted to create a new project (name does not matter)."
1081
+ f"3. Click on Enable APIs and Services at the top."
1082
+ f"4. In the list of APIs choose or search for YouTube Data API v3 and "
1083
+ f"click on it. Choose Enable."
1084
+ f"5. Click on Credentials on the left navigation bar."
1085
+ f"6. Click on Create Credential at the top."
1086
+ f'7. At the top click the link for "API key".'
1087
+ f"8. No application restrictions are needed. Click Create at the bottom."
1088
+ f"9. You now have a key to add to `{{prefix}}set api youtube api_key`"
1089
+ )
1090
+ message = (
1091
+ "1. Go to Google Developers Console and log in with your Google account."
1092
+ "(https://console.developers.google.com/)"
1093
+ "2. You should be prompted to create a new project (name does not matter)."
1094
+ "3. Click on Enable APIs and Services at the top."
1095
+ "4. In the list of APIs choose or search for YouTube Data API v3 and "
1096
+ "click on it. Choose Enable."
1097
+ "5. Click on Credentials on the left navigation bar."
1098
+ "6. Click on Create Credential at the top."
1099
+ '7. At the top click the link for "API key".'
1100
+ "8. No application restrictions are needed. Click Create at the bottom."
1101
+ f"9. You now have a key to add to `{ prefix } set api youtube api_key`"
1102
+ )
0 commit comments