Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/erwanvivien/discord_hort

A Discord bot fetching data from Reddit. You define your own good / bad subs and it sends random images
https://github.com/erwanvivien/discord_hort

bot discord randomizer reddit subreddit

Last synced: about 15 hours ago
JSON representation

A Discord bot fetching data from Reddit. You define your own good / bad subs and it sends random images

Awesome Lists containing this project

README

        

# discord-HorT
A Heads or Tails discord bot.

[Invite my the bot to your discord :)](https://discord.com/api/oauth2/authorize?client_id=798130116491345971&permissions=2048&scope=bot)

## Usages
- [``$hart``](https://github.com/erwanvivien/discord-HorT#default-command)
- [``$harts``](https://github.com/erwanvivien/discord-HorT#Multiple-draws)
- [``$hartspec``](https://github.com/erwanvivien/discord-HorT#Specific-results-from-any-SubReddit)
- [``$hartadd`` or ``$hartremove`` or ``$hartlist``](https://github.com/erwanvivien/discord-HorT#Add-or-remove-from-list-of-SubReddits)

### Default command
``$hart`` or ``$hort`` for a simple heads or tails situation (they are the same)

HOW TO:
```
$hart [show] [novideo] [bad/good]
```

### Multiple draws
``$harts`` or ``$horts`` for many heads or tails situations (same again)

HOW TO:
```bash
$harts nb [show] [novideo] [bad/good] # with (1 <= nb <= 5)
```

### Specific results from any SubReddit
``$hartspec`` or ``$hortspec`` for results in a specific SubReddit (equivalent to ``$hartlim``)

HOW TO:
```bash
$hartspec sub_name [nb] [show] [novideo] [bad/good] # with (1 <= nb <= 5)
```

### Add or remove SubReddit from list
``$hartadd`` or ``$hartremove`` can add/remove a list of subreddits to your server list.

HOW TO:
```bash
$hartadd good/bad sub_name [sub_name [...]]
```

### List all SubReddits from list
``$hartlist`` Will list your server's subreddits

HOW TO:
```bash
$hartlist good/bad
```

## SubReddit Error
It is possible if a sub is private, quarantined or banned.
```json
{
"reason": "quarantined",
"quarantine_message_html": "It is dedicated to shocking or highly offensive content",
"message": "Forbidden",
"quarantine_message": "It is dedicated to shocking or highly offensive content.",
"error": 403
}
```