dmanbot
所属分类:单片机开发
开发工具:D
文件大小:0KB
下载次数:0
上传日期:2020-12-06 13:16:42
上 传 者:
sh-1993
说明: 用D编程语言编写的Twitter机器人,
(Twitter bot written in D Programming Language,)
文件列表:
dmanbot.yaml.example (318, 2020-12-06)
dub.json (435, 2020-12-06)
dub.selections.json (659, 2020-12-06)
source/ (0, 2020-12-06)
source/app.d (371, 2020-12-06)
source/dmanbot.d (6601, 2020-12-06)
# [dmanbot](https://twitter.com/d_man_bot)
Twitter bot written in D Programming Language.
## Features
1. Search
2. Retweet
3. Follow
## Install
1. Edit config file
2. Create MySQL database and tables
3. Build & Run
4. Honor D-man
### 1. Edit config file
1. `cp dmanbot.yaml.example dmanbot.yaml`
2. Edit `dmanbot.yaml`
### 2. Create MySQL database and tables
1. `create database dmanbot;`
2. `create table dmanbot.retweets (id bigint not null, primary key (id));`
3. `create table dmanbot.follow_requests (id bigint not null, primary key (id));`
4. `create table dmanbot.words (word varchar(255) primary key unique not null, since_id bigint default 0 not null);`
### 3. Build & Run
1. `dub`
### 4. Honor D-man
![D-man](http://dlang.org/images/d3.png)
## License Information
MIT License
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
近期下载者:
相关文件:
收藏者: