mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
Updated changelog, removed the ability to bet 0 on betdraw
This commit is contained in:
@@ -7,6 +7,11 @@ Experimental changelog. Mostly based on [keepachangelog](https://keepachangelog.
|
|||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Added `.autopublish` command which will automatically publish messages posted in the channel.
|
- Added `.autopublish` command which will automatically publish messages posted in the channel.
|
||||||
|
- Added `--after <messageid>` option to prune which will make prune only delete messages after the specified message id.
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- prune `--after` and `--safe` are now proper command options, and will show in .h help
|
||||||
|
|
||||||
## [4.3.7]
|
## [4.3.7]
|
||||||
|
|
||||||
|
@@ -145,6 +145,9 @@ public partial class Gambling
|
|||||||
|
|
||||||
public async Task BetDrawInternal(long amount, InputValueGuess? val, InputColorGuess? col)
|
public async Task BetDrawInternal(long amount, InputValueGuess? val, InputColorGuess? col)
|
||||||
{
|
{
|
||||||
|
if (amount <= 0)
|
||||||
|
return;
|
||||||
|
|
||||||
var res = await _service.BetDrawAsync(ctx.User.Id,
|
var res = await _service.BetDrawAsync(ctx.User.Id,
|
||||||
amount,
|
amount,
|
||||||
(byte?)val,
|
(byte?)val,
|
||||||
|
@@ -371,7 +371,7 @@ setchanlname:
|
|||||||
args:
|
args:
|
||||||
- "NewName"
|
- "NewName"
|
||||||
prune:
|
prune:
|
||||||
desc: "`{0}prune` removes all Nadeko's messages in the last 100 messages. `{0}prune X` removes last `X` number of messages from the channel (up to 100). `{0}prune @Someone` removes all Someone's messages in the last 100 messages. `{0}prune @Someone X` removes last `X` number of 'Someone's' messages in the channel. You can use the `-s` / `--safe` parameter at the end to only prune messages that are not pinned."
|
desc: "`{0}prune` removes all Nadeko's messages in the last 100 messages. `{0}prune X` removes last `X` number of messages from the channel (up to 100). `{0}prune @Someone` removes all Someone's messages in the last 100 messages. `{0}prune @Someone X` removes last `X` number of 'Someone's' messages in the channel."
|
||||||
args:
|
args:
|
||||||
- ""
|
- ""
|
||||||
- "-s"
|
- "-s"
|
||||||
|
Reference in New Issue
Block a user