barnaclebot

command module
v1.0.1-0...-754f773 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2020 License: MPL-2.0 Imports: 6 Imported by: 0

README

Barnacle Bot

GitHub license Go Report Card

I always want to learn English but I'm so unmotivated, and I want to learn programming too, but I'm so lazy. Because of that, I'm trying to learn programming while making a Telegram bot to help myself learn English. Now, my English and programming skill that I have still sucks 😅.

Quick Start Setup

  1. Donwload latest Barnacle Bot.
  2. Run terminal program and open directory where you put barnaclebot.
  3. Create TELEGRAM_TOKEN variable in your shell. e.g. export TELEGRAM_TOKEN=1235335:BlahbLaHblAh
  4. Run program with ./barnaclebot.
  5. Start your bot in Telegram client.

List Bot Command

  • /mean <word>: Get definition of the word.
  • /slang <word>: Get slang definition of the word.
  • /synonym <word>: Get synonyms of the word.
  • /quote: Get random quotes.

Credit

  • Telebot MIT License. Telegram bot framework in Go. "I never knew creating Telegram bots could be so sexy!", who said that 😹.
  • Urban Dictionary. "Crowdsourced online dictionary for slang words and phrases", according to WikiPedia.
  • (unofficial) Google Dictionary API. Google does not provide API for google Dictionary so someone created one.
  • Type.fit. It's web for keyboard typing practice, but I steal use their API to get random quotes.

Documentation

Overview

Barnacle Bot is Telegram bot that I use to help myself learn English while learning Go and vice versa. My English is still sucks, and my Go programming skill is still horrible.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL