Skip to content

Commit

Permalink
Release v0.5.1: nickname is null by default to avoid nonickname users (
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytrostriletskyi authored Nov 26, 2018
1 parent d5cf6db commit 03bb756
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@

`Gimmeremmetokensbot`[Telegram bot](https://core.telegram.org/bots) for [Remme](https://remme.io) tokens distribution for testing purposes.

![example-of-usage](https://im5.ezgif.com/tmp/ezgif-5-2aca8e02bd9d.gif)
![example-of-usage](https://im5.ezgif.com/tmp/ezgif-5-84e50285e274.gif)

Bot's the following functionality:
1. Create new account for user;
2. Distribute Remme tokens to account address;
3. Inform user about account tokens balance.

Bots ready to use: [@RemmeFaucetBot](https://t.me/RemmeFaucetBot)

## Dependencies

Our project have the following dependencies:
Expand Down
2 changes: 1 addition & 1 deletion gimmeremmetokensbot/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def create_db_tables():
cursor.execute(
"""CREATE TABLE IF NOT EXISTS remme_tokens_recodring (
chat_id INTEGER UNIQUE NOT NULL,
nickname VARCHAR (50) UNIQUE NOT NULL,
nickname VARCHAR (128) DEFAULT NULL,
address VARCHAR (128) UNIQUE NOT NULL,
public_key VARCHAR (128) UNIQUE NOT NULL,
are_creads_shown BOOLEAN NOT NULL,
Expand Down

0 comments on commit 03bb756

Please sign in to comment.