small readme change
This commit is contained in:
parent
82b628d0b5
commit
58d2b38a79
|
@ -5,7 +5,7 @@ Pulls random questions from a database and posts them using Discord webhooks.
|
||||||
![Example screenshot](example.png)
|
![Example screenshot](example.png)
|
||||||
|
|
||||||
## Misc info
|
## Misc info
|
||||||
Requires `DBI` and `WebService::Discord::Webhook` from the CPAN. Find the `$url` var and change it to have your webhook URL. Run periodically using a cron script or similar. Has been tested on the following operating systems:
|
Requires `DBI` and `WebService::Discord::Webhook`. Find the `$url` var and change it to have your webhook URL. Run periodically using a cron script or similar. Has been tested on the following operating systems:
|
||||||
- Fedora (36, 37)
|
- Fedora (36, 37)
|
||||||
- Rocky Linux (9)
|
- Rocky Linux (9)
|
||||||
|
|
||||||
|
@ -20,4 +20,4 @@ Create a database from the included 'questions.sql' file.
|
||||||
- **used**: indicates whether a question has been used or not, indended to be either '0' for unused or '1' for used but can be other numbers if you need (i.e. '2' which you assign to questions you want to use but not right now, and you have another tool that will switch them over to '0' at a specified time)
|
- **used**: indicates whether a question has been used or not, indended to be either '0' for unused or '1' for used but can be other numbers if you need (i.e. '2' which you assign to questions you want to use but not right now, and you have another tool that will switch them over to '0' at a specified time)
|
||||||
- **when**: Unix timestamp indicating when the question was used, just for reference
|
- **when**: Unix timestamp indicating when the question was used, just for reference
|
||||||
|
|
||||||
By default expects a database named `questions.sqlite`. Has only been tested with SQLite but should theoretically work with other database formats that DBI supports?
|
By default expects a database named `questions.sqlite`. Has only been tested with SQLite but should theoretically work with other database formats that DBI supports?
|
||||||
|
|
Loading…
Reference in New Issue