coalibot

Slack bot for the school 42 using nlopes/slack Slack api client. This bot provide tools for student to access school informations.

https://github.com/eleboucher/coalibot

Science Score: 31.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (4.2%) to scientific vocabulary

Keywords

42 go golang slackbot
Last synced: 6 months ago · JSON representation ·

Repository

Slack bot for the school 42 using nlopes/slack Slack api client. This bot provide tools for student to access school informations.

Basic Info
  • Host: GitHub
  • Owner: eleboucher
  • License: mit
  • Language: Go
  • Default Branch: master
  • Homepage:
  • Size: 20.7 MB
Statistics
  • Stars: 22
  • Watchers: 1
  • Forks: 9
  • Open Issues: 2
  • Releases: 0
Topics
42 go golang slackbot
Created about 8 years ago · Last pushed 9 months ago
Metadata Files
Readme License Citation

README.md

Coalibot

Description

Slack bot for the school 42Born2Code

Features

More than 20 commands available such as:

  • Access to the school api to retrieve public info such as the profile (level of the student, current position in the school, the logtime ...)
  • Information about student association and related activities
  • The weather
  • Fun quotes for various movies
  • Some cool skin for slack

screenshot

Owner

  • Name: Erwan Leboucher
  • Login: eleboucher
  • Kind: user
  • Location: Berlin, Germany
  • Company: Wolt

Full Stack Developer

Citation (citation/get_random_quote.go)

package citation

import (
	"math/rand"
)

func getRandomQuote(splitedText []string) string {
	citation := splitedText[rand.Int()%len(splitedText)]

	if citation == "" {
		return getRandomQuote(splitedText)
	}

	return citation
}

GitHub Events

Total
  • Push event: 1
Last Year
  • Push event: 1

Issues and Pull Requests

Last synced: almost 3 years ago

All Time
  • Total issues: 6
  • Total pull requests: 38
  • Average time to close issues: 28 days
  • Average time to close pull requests: 5 days
  • Total issue authors: 4
  • Total pull request authors: 15
  • Average comments per issue: 2.83
  • Average comments per pull request: 0.39
  • Merged pull requests: 26
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 1
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • eleboucher (3)
  • AdamTaguirov (1)
  • VictorVasconcellos42 (1)
  • lain2006 (1)
Pull Request Authors
  • Porow (16)
  • clafoutis42 (4)
  • Exagone313 (3)
  • bsiguret (3)
  • mlegall-ledger (2)
  • ManyTheFish (1)
  • bspindle (1)
  • eleboucher (1)
  • SpenderJ (1)
  • dachristo (1)
  • bprunevi (1)
  • ndudnicz (1)
  • gmorer (1)
  • dependabot[bot] (1)
  • jde-maga (1)
Top Labels
Issue Labels
enhancement (2) bug (1) help wanted (1)
Pull Request Labels
dependencies (1) go (1)

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 3
proxy.golang.org: github.com/eleboucher/coalibot
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 7.0%
Average: 8.2%
Dependent repos count: 9.3%
Last synced: 7 months ago

Dependencies

go.mod go
  • github.com/PuerkitoBio/goquery v1.5.1
  • github.com/hako/durafmt v0.0.0-20191009132224-3f39dc1ed9f4
  • github.com/joho/godotenv v1.3.0
  • github.com/lib/pq v1.5.2
  • github.com/sirupsen/logrus v1.6.0
  • github.com/slack-go/slack v0.6.4
  • gitlab.com/clafoutis/api v0.0.0-00010101000000-000000000000
  • gitlab.com/clafoutis/api42 v0.0.0-00010101000000-000000000000
  • golang.org/x/text v0.3.3
go.sum go
  • github.com/PuerkitoBio/goquery v1.5.1
  • github.com/andybalholm/cascadia v1.1.0
  • github.com/davecgh/go-spew v1.1.1
  • github.com/go-test/deep v1.0.4
  • github.com/gorilla/websocket v1.2.0
  • github.com/hako/durafmt v0.0.0-20191009132224-3f39dc1ed9f4
  • github.com/joho/godotenv v1.3.0
  • github.com/konsorten/go-windows-terminal-sequences v1.0.3
  • github.com/lib/pq v1.5.2
  • github.com/pkg/errors v0.8.0
  • github.com/pmezard/go-difflib v1.0.0
  • github.com/sirupsen/logrus v1.6.0
  • github.com/slack-go/slack v0.6.4
  • github.com/stretchr/testify v1.2.2
  • golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
  • golang.org/x/net v0.0.0-20180218175443-cbe0f9307d01
  • golang.org/x/net v0.0.0-20200202094626-16171245cfb2
  • golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a
  • golang.org/x/sys v0.0.0-20190422165155-953cdadca894
  • golang.org/x/text v0.3.0
  • golang.org/x/text v0.3.2
  • golang.org/x/text v0.3.3
  • golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e