I want the bot to run at https://www.wikifunctions.org/wiki/
I tried with the following file. But it didn't work.
"""Family module for Wikifunction."""
#
# (C) Pywikibot team, 2005-2023
#
# Distributed under the terms of the MIT license.
#
from pywikibot import family
# The Wikifunctions family
class Family(family.WikimediaFamily, family.DefaultWikibaseFamily):
"""Family class for Wikifunctions."""
name = 'wikifunctions'
code = 'wikifunctions'
langs = {
'wikifunctions': 'www.wikifunctions.org',
}
def protocol(self, code) -> str:
"""Return the protocol for this family."""
return 'https'