Skip to content

Latest commit

 

History

History
90 lines (63 loc) · 4.03 KB

README.md

File metadata and controls

90 lines (63 loc) · 4.03 KB

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

Details

Twitter Profile - Tweets Database - Add to your server 🤖

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 | @michalspano