Giter Club home page Giter Club logo

dailyword-bot's Introduction

@dailyWord_bot (Check it, it's live ๐ŸŒ)

dailyWord-bot

This repository contains the source code for @dailyWord_bot, a Telegram Bot that eases learning new words & expressions in German and Spanish.

What does @dailyWord_bot do?

@dailyWord_bot will send you daily words with examples with a set of sentence examples. You can as well mark/unmark the words that you already know so they won't appear anymore.

screenshot

The words data bank is updated dynamically with the will of collaborators via a Google Spread Sheet. Do not hesitate reaching out to collaborate! ๐Ÿ˜Š

How can I start using it?

Just open Telegram and start a conversation with @dailyWord_bot

Tech Stack

What Tech
development python
database redis
deployment Docker, docker-compose
CI Github Actions to enforce merge checks for tests, static analysis & coverage

dailyword-bot's People

Contributors

dependabot[bot] avatar hawk-roman-rey avatar oscarfont avatar rangelrey avatar rooom13 avatar vanessam12 avatar

Stargazers

 avatar  avatar  avatar

dailyword-bot's Issues

users not receiving words after adding a level

This exceptions is thrown:

`An exception occured in callback_chrono_send_top_tweets:

Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 3361, in get_loc
return self._engine.get_loc(casted_key)
File "pandas/_libs/index.pyx", line 76, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 108, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 5198, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 5206, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'level'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/daily_word_bot/app.py", line 288, in send_word
word_data = self.word_bank.get_random(levels, exclude=exclude)
File "/daily_word_bot/word_bank.py", line 57, in get_random
df_candidates = self.df.loc[(~self.df.index.isin(exclude)) & ((self.df['level'].isin(levels)) | (self.df['level'] == ''))]
File "/usr/local/lib/python3.8/site-packages/pandas/core/frame.py", line 3458, in getitem
indexer = self.columns.get_loc(key)
File "/usr/local/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 3363, in get_loc
raise KeyError(key) from err
KeyError: 'level'`

add contributor's link

When command /info is used, the contributors are listed in plain text. Would be great to add the link of it's github profile present in the fetch contributors response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.