Skip to content

atle85/loke

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loke

Loke, a simple bot

Install required modules into a virtualenv (python3) by using pip -r requirements.txt

To choose what modules to be used, comment/uncomment in main.py (both import-statements and the lines where they are used). Also make sure you change the name config.py-sample, as well as the the files in the data/-folder so they will be usable.

Modules

AtB

Real time information from AtB (Trondheim public transportation)

Syntax

.atb <stopname>

Auto Response

Will respond to certain words as described in data/autoresponse.json

Avinor

Real time information from Avinor (Norwegian airport authorities)

Syntax

.avinor <flightno> <airport> <date>

Brewbot to keep track of brews

Syntax
.brew - list brews
.brew add - add new brew, will return ID
.brew <id> - Show information about brew
.brew <id> add <key> <description> - Add custom element to brew. Two special keys: name and brewdate
.brew <id> del <key> - Delete custom element from brew
.brew <id> gravity add <date> <gravity> - Add measured gravity. Date format: yyyy-mm-dd
.brew <id> gravity del <date> - Delete measured gravity. Date format: yyyy-mm-dd

Bysykkel (Trondheim)

Shows real time information about stations in Trondheim Bysykkel

Syntax

.bysykkel

Chartertur

Har mannen falt?

Returning information if the mountains Mannen and Veslemannen has fallen

Syntax
.harmannenfalt
.harveslemannenvalt

Ruter

Seen

Syntax
.seen <@user>
.seenall

Transport for London

Returning real time information from TfL

Syntax
.tfl status
.tfl <station name>

Weather

Yr

Syntax

.yr <place>

About

Loke, a simple bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%