This project is currently NOT under development! Core features may be corrupted or missing! We are currently not providing any support on this software!
In other languages: Deutsch
Linker is a bot programmed in Python which makes it possible to send links in a very short time.
When a word is bracketed with "{" and "}", the bot generates a link completely automatically and sends it below the message.
This is generated from the default URL set for the Discord server.
A default URL consists of the base URL and the variable %ARTICLE%
.
The variable is replaced by the search term entered between the curly brackets during a search.
For example, if you set the URL to https://minecraft.fandom.com/wiki/%ARTICLE%
, all searches will be made on the English Minecraft wiki.
By adding a "$" at the beginning of a word, it is possible to display quick information from the website. However, some websites have this feature disabled, so this is usually only possible in wikis and forums.
It is also possible to use a different URL than the default URL. For this, separate the search word and the base URL with a ":" from each other. Everything before the colon is the base URL.
It is also possible to use a template as the base URL. For instance minecraft-en
refers to the English Minecraft wiki.
Here are all of these templates listed:
minecraft-<WIKINAME>
- https://minecraft.fandom.com/<WIKINAME>/wiki/%ARTICLE%
wikipedia-<WIKINAME>
- https://<WIKINAME>.wikipedia.org/wiki/%ARTICLE%
fandom-<WIKINAME>
- https://<WIKINAME>.fandom.com/wiki/%ARTICLE%
gamepedia-<WIKINAME>
- https://<WIKINAME>.gamepedia.com/%ARTICLE%
youtube
- https://www.youtube.com/%ARTICLE%
twitch
- https://www.twitch.tv/%ARTICLE%
%guildfamily
%guildfamily get
- Outputs the default url from this guild
%guildfamily set <url>
- Sets the guild's default url to the given url
%guildfamily clear
- Clears the default url of the guild
%userfamily
%userfamily get
- Outputs your default url
%userfamily set <url>
- Sets your default url to the given url
%userfamily clear
- Clears your default url
%guildwords
%guildwords get
- Outputs the guilds custom words
%guildwords set <word> <url>
- Adds the given word to the guilds custom words
%guildwords rem <word>
- Removes the given word from the guilds custom words
%guildwords clear
- Clears the guilds custom words
%userwords
%userwords get
- Outputs your custom words
%userwords set <word> <url>
- Adds the given word to your custom words
%userwords rem <word>
- Removes the given word from your custom words
%userwords clear
- Clears your custom words
%guildfamily set
When using this command it is possible to set the default URL of the server.
It is necessary to include the variable %ARTICLE%
in this URL. In case of a search, %ARTICLE%
will be replaced by the search term entered between the curly brackets.
If you do not want to build the URL yourself, you can also use the templates (see Templates).
Here the principle will be explained based on the Emglish Minecraft Wiki:
.
• If you use a template, the command will look like this: %guildfamily set minecraft-en
.
• If you want to compose it yourself, however, like this: %guildfamily set https://en.wikipedia.org/wiki/%ARTICLE
This principle can be applied to almost all Wikis, forums and most websites.
%userfamily set
This command is practically the same as %guildfamily
with the difference that the default url of the guild is not set, but that of the user. Templates can be used here as well.
%guildwords
If this command is used, the custom words of the guild can be viewed and managed.
Custom words are words that output a custom url when searched.
%userwords
This command is practically the same as %guildwords
with the difference that the default url of the guild is not set, but that of the user. Templates can be used here as well.