TheGodFather Extensions 1

News, Converters, Images, Translate, TTS, Search, Weather, last.fm, laut.fm, Statistics, Urban Dictionary


An extension is a separate PHP file that TheGodFather calls when a keyword match is found in a message. All extensions are set to work with FGC=https://YOUR-URL.COM/path-to-file.php (in the Phrases box of the subset) which tells TheGodFather to make the call internally using php-curl or file_get_contents. A redirection is another option if the extension file is on the same server: RDR=https://YOUR-URL.COM/path-to-file.php. In case you want to change the keywords - any change in AdminCP ยป Machines ยป TheGodFather ยป {subset} requires adjusting the code of the extension file.

TIP! It would be easier to maintain your extensions if you put the files in a separate folder outside the chat folder. The extensions that require a connection to a MySQL database - import the tables in a separate database (all extensions in one database is ok). The tables are large and you don't need to make regular backups as they don't change.


Media Helper

Description

Detects and posts as attachments youtube, vimeo, reels, tiktok, dailymotion, twitch links.

How to install


9gag.com

Description

Downloads and posts in chat 9gag.com memes using any 9gag URL - share or from address bar.

How to install


Youtube

Description

Posts youtube videos with preview with:

How it works

You: yt https://youtu.be/nTqG5rsFeJI ยป TheGodFather: alt preview

How to install


News

Description

Returns up to 10 news + links on a particular topic or headlines by country/global using gnews.io API.

How it works

  1. You: news gb Boris Jonson ยป TheGodFather returns up to ten titles/links about Boris Johnson from UK news sites
  2. You: news. ยป TheGodFather: returns up to ten titles/links from German news sites

How to install


C-F/Distance/Area Converter

Description

Converts miles into kilometres, km to miles, cm, inches, feet and sq feet to meters Celsius to Fahrenheit and vice versa.

How it works

  1. You: I walked 10 miles yesterday. ยป TheGodFather: 10mi = 16.09km
  2. You: It was freezing cold -10ยฐC. ยป TheGodFather: -10ยฐF equals -23.3ยฐC and -10ยฐC equals 14ยฐF

How to install


Currency Converter

Description

Converts AUD, CAD, USD, EUR, GBP, CHF, JPY, CNY, quid, bucks, Bitcoins - any to all.

How it works

You: That's expensive. I have 5 bucks only. ยป TheGodFather: Little is better than nothing. 5 in US dollars amounts to 4.22 in euros, 3.91 in British pounds, 34.18 in Chinese yuans, 531.13 in Japanese yens, 6.86 in Australian dollars, 6.59 in Canadian dollars, 4.54 in Swiss francs

How to install


Statistics

Description

Returns the number of messages posted, chat users and when the system was first installed.

How it works

You: stats ยป TheGodFather: Thatโ€˜s what I call smart question! We have posted ๐Ÿงฎ 2346774 messages since ๐Ÿ“… Jun 5, 2017 and we have ๐Ÿ‘ฅ 7287 registered members. Our first member is ๐Ÿฆ™ TheRipper (registered on Jun 5, 2017) and the latest one is ๐Ÿ•บ Johnas. Cheers mates! ๐Ÿ’ ๐ŸŽ‚ ๐ŸŽ‰

How to install


Last.fm

Description

Information about artists and bands using last.fm API

How it works

You: lastfm ike turner ยป TheGodFather: Ike Turner: Ike Wister Turner (November 5, 1931 - December 12, 2007) was an American guitarist, pianist, bandleader, talent scout, and record producer. Considered to be one of the fathers of rock and roll, his first recording, "Rocket 88" (incorrectly credited to "Jackie Brenston and his Delta Cats") in 1951, is considered by some to be the "first rock and roll song" ever. Turner is probably best known for his work with his ex-wife, Tina Turner as one half of the Ike & Tina Turner revue.

How to install


Radio laut.fm

Description

Replies with what's playing on laut.fm rock, jazz and dance stations (adjustable).

How it works

  1. You: rock ยป TheGodFather: laut.fm: ยซRockยป โ–ถ Rocket Chief - Schoolhall
  2. You: jazz ยป TheGodFather: laut.fm: ยซJazzยป โ–ถ Pat Metheny Group - James

How to install


Open Weather

Description

Returns current weather using OpenWather API.

How it works

You: weather Tokyo ยป TheGodFather: Current weather in TOKYO (JP): โ›… few clouds, temp. 26.5ยฐC (79.7ยฐF), feels like 30.9ยฐC (87.7ยฐF)

How to install


Picture of ... DuckDuckGo

Description

Downloads and posts pictures using DuckDuckGo search engine.

How it works

You: picture of a dog ยป TheGodFather: ๐Ÿ•

How to install

This extension saves the image files in a subfolder within your /attachments folder. You may want to consider some automation software to delete the files from time to time.


Search with DuckDuckGo

TheGodFather provides search results using DuckDuckGo search engine.

How it works

You: search longship ยป TheGodFather: A type of specialised Viking warships that have a long history in Scandinavia, with their... https://ddg.gg/Longship

How to install


Show me ... Pixabay

Description

Downloads and posts pictures from pixabay.com.

How it works

You: show me a cat ยป TheGodFather: ๐Ÿˆ

How to install

This extension saves the image files in a subfolder within your /attachments folder. You may want to consider some automation software to delete the files from time to time.


TTS (Text-To-Speech)

Description

Text-To-Speech using Google TTS engine.

How it works

How to install

This extension is based on a free Google API that might stop working at any time.


Translate

Description

Translates text using mymemory.translated.net API.

How it works

How to install


Urban Dictionary

Description

TheGodFather returns results from UrbanDictionary.

How it works

How to install

This extension is based on a free Urban Dictionary API that might stop working at any time.


Urban Example

Description

TheGodFather returns the first example sentence from UrbanDictionary without showing the input.

This extension requires version 22.01 and the following stopword in AdminCP ยป Machines: 
/exmp

How it works

How to install

This extension is based on a free Urban Dictionary API that might stop working at any time.


IRC-Like

Description

TheGodFather answers the IRC commands /me, /kick, /whois, /topic using a phrase from a predefined list. TheGodFather says anything you want them to when prefixed with /tgf

This extension requires version 22.01 and the following stopwords in AdminCP ยป Machines: 
/topic,/me,/kick,/whois,/tgf,[me]

How it works

How to install


ChatGPT AI Bot (deprecated)

Description

This extension is deprecated. From version 23.05 ChatGPT can be accessed directly without an extension. Use only in case you want to program conditions that cannot be achieved with settings in the AdminCP ยป Machines ยป TheGodFather ยป ChatGPT .

โžก๏ธ See ChatGPT

Answers any question in any language using a GPT3 AI model.

How it works

  1. You: GodFather, I wonder where you do your groceries? ยป TheGodFather: Well, Amazon Prime, of course!
  2. You: GodFather, Wie stehen Sie zur Kanzlerschaft von Angela Merkel? ยป TheGodFather: Ich bin begeistert! Wirklich, sie hat es geschafft, Deutschland in den letzten 14 Jahren zu einem noch besseren Ort zu machen. #IronieAus

How to install and use

Download from our download center. Read carefully the readme file.


Page updated: 2024-01-04
 
Powered by BlaB! Pages