Skip to content

Custom SIML Adapters

Łukasz Domeradzki edited this page Jul 15, 2017 · 45 revisions

This is a list of the custom SIML adapters available for use

ArchiChannelRandomUserNickname

It accepts a channel id and returns a random user from the chat. It's expected to be used with SourceID or with an hardcoded channel ID

Usage example:

<ArchiChannelRandomUserNickname>steam-110338190878500888</ArchiChannelRandomUserNickname>

Result:

Archi

ArchiDate

It accepts a location as input, for example a city or a country; it returns the current local date in that location.

Usage example 1:

<ArchiDate>Poland</ArchiDate>

Result:

20/06/2017

Usage example 2:

<ArchiDate>Rome</ArchiDate>

Result:

20/06/2017

ArchiDateTime

It accepts a location as input, for example a city or a country; it returns the interpreted input and the current local date and time in that location.

Usage example 1:

<ArchiDateTime>Poland</ArchiDateTime>

Result:

Poland | 20/06/2017 14:20:53

Usage example 2:

<ArchiDateTime>Rome</ArchiDateTime>

Result:

Italy | 20/06/2017 14:20:53

ArchiPatreonCampaignPledge

It accepts a campaign id and returns the amount of dollars currently pledged to it by its patrons, as well as the campaign's type (monthly or per-creation).

To find the campaign id you can check the project main page's source and look for it, for example by searching for "pledge_url"

campaign id location

Usage example:

<ArchiPatreonCampaignPledge>316025</ArchiPatreonCampaignPledge>

Result:

$57 per month

ArchiSteamGroupRandomUserNickname

It accepts a Steam group id and returns a random user from the group. Group refresh is done automatically if needed.

Usage example:

<ArchiSteamGroupRandomUserNickname>103582791437445144</ArchiSteamGroupRandomUserNickname>

Result:

Archi

ArchiSteamRandomEmoticon

It returns a random emoticon from a list. Used with no argument the list used is the entire list of ArchiBoT's available emoticons, otherwise it will pick a random emoticon from the list provided (ArchiBoT will ignore emotes that it doesn't own)

Usage example 1:

<ArchiSteamRandomEmoticon />

Result:

:Neko:

Usage example 2:

<ArchiSteamRandomEmoticon>:dice1: :dice2: :dice3:</ArchiSteamRandomEmoticon>

Result:

:dice2:

ArchiSynBotLateTasksClear

It removes any pending <Late> task that was created by the current user. It requires no argument and returns no output.

Usage example:

I'll clear the late tasks for you! <ArchiSynBotLateTasksClear />

Result:

I'll clear the late tasks for you!

ArchiTime

It accepts a location as input, for example a city or a country; it returns the current local time in that location.

Usage example 1:

<ArchiTime>Poland</ArchiTime>

Result:

14:20:53

Usage example 2:

<ArchiTime>Rome</ArchiTime>

Result:

14:20:53

ArchiTranslate

It accepts any input and translates it to English after trying to detect the input's language

Usage example:

<ArchiTranslate>Ogórek</ArchiTranslate>

Result:

Cucumber

ArchiWeather

It accepts a city as the input and returns information about the weather

Usage example:

<ArchiWeather>Warsaw</ArchiWeather>

Result:

Warsaw, Masovian, Poland | 17°C/62°F | Mostly Cloudy

Clone this wiki locally