Removes print.

pull/111/head
Toran Bruce Richards 2023-04-04 00:24:22 +01:00 committed by GitHub
parent 064a2af9b5
commit 7e529e19d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ def get_command(response):
def execute_command(command_name, arguments):
try:
if command_name == "google":
print("Using Google search method")
# Check if the Google API key is set and use the official search method
# If the API key is not set or has only whitespaces, use the unofficial search method
if cfg.google_api_key and (cfg.google_api_key.strip() if cfg.google_api_key else None):