michalspano / the-swedish-bot

πŸ€– A Twitter Scraper and a smart Discord bot.
https://twitter.com/TheSwedishBot
MIT License
2 stars 0 forks source link
discord discord-bot googlespreadsheet twitter-api

The Swedish Twitter Bot


Forks Stargazers Issues Contributors MIT License

Introduction

Hej! I am the Swedish Twitter Bot! I retweet hourly under #Sweden and #Sverige on Twitter! πŸ‡ΈπŸ‡ͺ
I'm also a Discord Bot with multiple functions! πŸ€–

About me

- πŸ”§ | [**Documentation**](https://github.com/michalspano/the-swedish-bot) - πŸ“© | [**Report issues**](https://github.com/michalspano/the-swedish-bot/issues) ## Details [**Twitter Profile**][TWITTER] - [**Tweets Database**][GS] - [**Add to your server**][ADD] πŸ€–
The __website__ is currently __deprecated__ and will be __replaced__ with a __new one__ in the future. The __documentation__ is __available__ on the __GitHub__ repository. For troubleshooting, __report__ any __issues__ on the __GitHub__ repository. \*__Packages__ used: `gspread`, `tweepy`, `discord.py`, `Flask`. ## Bot commands - Use any of the **commands** with the *default bot prefix* (abbreviation **DBP**): `--` \- or *mention* `@The Swedish Twitter Bot`. - Use the *command prefix or command aliases* (abbreviation **CP**). **Note**: different operators in a single command are stylized with a space. ## πŸ“Ά Status command - Invoke aliases: `Status`, `status` or `st` - Syntax: `DBP CP` `count: int = 100` - The `count` parameter is optional and defaults to 100 - the number of tweets to be parsed in the response - Reports __current trends__ about the __database__ and the latency (ping) status ## ⏬ Load command - Invoke aliases: `Load`, `load`, `l` - __Default syntax__: `DBP CP operator n k`; `operator: str = None`, `n: int = 5`, `k: float = 5.0` [operator, $n$, $k$ are *optional values*; their *type* and *default value* is specified] - **Primitive load**: `CBP CD` - loads the _latest_ submission in an embedded text message - **Complex load**: Corresponding to *Default syntax*; `operator` prefix `recent` or `r`; `n` specifies the *number of retrieved tweets*\*, `k` specifies their *input interval* (i.e. delay) - E.g., `--load recent 10 2` - loads 10 recent tweets and displays them with a 2 sec. delay \*The __maximum__ number of tweet entries is **20**! This is due to the limitations of the API. ## ℹ️ Help command - Invoke aliases: `Help`, `help`, `h` - Syntax: `DBP CP` - Reports possible guidance and information about the bot ## πŸ“© Socials [@TheSwedishBot][TWITTER] | [@michalspano][GITHUB]