updated changelog, upped version to 6.0.6
This commit is contained in:
parent
6d08ddee7d
commit
83701a9e0b
5 changed files with 28 additions and 9 deletions
CHANGELOG.md
src/EllieBot
21
CHANGELOG.md
21
CHANGELOG.md
|
@ -2,19 +2,34 @@
|
||||||
|
|
||||||
*a,c,f,r,o*
|
*a,c,f,r,o*
|
||||||
|
|
||||||
|
## [6.0.6] - 16.03.2025
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Added youtube live stream notification support for `.streamadd`
|
||||||
|
- it only works by using an invidious instance (with a working api) from data/searches.yml
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fixed `.hangman` not receiving input sometimes
|
||||||
|
- Fixed `.sfl` and similar toggles not working
|
||||||
|
- Fixed `.antialt` and other protection commands not properly turning on
|
||||||
|
- Fixed `%bot.time%` and `%bot.date%` placeholders showing wrong date.
|
||||||
|
- No longer a timestamp
|
||||||
|
|
||||||
## [6.0.5] - 15.03.2025
|
## [6.0.5] - 15.03.2025
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Aded a title in `.whosplaying`
|
- Aded a title in `.whosplaying`
|
||||||
- Added a crown emoji next to commands if -v 1 or -v2 option is specified
|
- Added a crown emoji next to commands if -v 1 or -v2 option is specified
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- `.remind` looks better
|
- `.remind` looks better
|
||||||
- `.savechat` no longer owner only, up to 1000 messages - unlimited if ran by the bot owner
|
- `.savechat` no longer owner only, up to 1000 messages - unlimited if ran by the bot owner
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- `.ropl` fixed
|
- `.ropl` fixed
|
||||||
|
|
||||||
|
|
|
@ -19,9 +19,9 @@ public class FollowedStream
|
||||||
public ulong GuildId { get; set; }
|
public ulong GuildId { get; set; }
|
||||||
public ulong ChannelId { get; set; }
|
public ulong ChannelId { get; set; }
|
||||||
public string Username { get; set; }
|
public string Username { get; set; }
|
||||||
public string? PrettyName { get; set; } = null;
|
public string PrettyName { get; set; } = null;
|
||||||
public FType Type { get; set; }
|
public FType Type { get; set; }
|
||||||
public string? Message { get; set; } = null;
|
public string Message { get; set; } = null;
|
||||||
|
|
||||||
protected bool Equals(FollowedStream other)
|
protected bool Equals(FollowedStream other)
|
||||||
=> ChannelId == other.ChannelId
|
=> ChannelId == other.ChannelId
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>true</ImplicitUsings>
|
<ImplicitUsings>true</ImplicitUsings>
|
||||||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
||||||
<Version>6.0.5</Version>
|
<Version>6.0.6</Version>
|
||||||
|
|
||||||
<!-- Output/build -->
|
<!-- Output/build -->
|
||||||
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
|
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
|
||||||
|
|
|
@ -142,6 +142,9 @@ public sealed partial class YouTubeProvider : Provider
|
||||||
isLive = true;
|
isLive = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (vid is null)
|
||||||
|
return null;
|
||||||
|
|
||||||
var avatarUrl = channel?.AuthorThumbnails?.Select(x => x.Url).LastOrDefault();
|
var avatarUrl = channel?.AuthorThumbnails?.Select(x => x.Url).LastOrDefault();
|
||||||
|
|
||||||
return new StreamData()
|
return new StreamData()
|
||||||
|
@ -175,7 +178,10 @@ public sealed partial class YouTubeProvider : Provider
|
||||||
var streamData = await Task.WhenAll(group.Select(GetStreamDataAsync));
|
var streamData = await Task.WhenAll(group.Select(GetStreamDataAsync));
|
||||||
|
|
||||||
foreach (var data in streamData)
|
foreach (var data in streamData)
|
||||||
results.Add(data);
|
{
|
||||||
|
if (data is not null)
|
||||||
|
results.Add(data);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return results;
|
return results;
|
||||||
|
|
|
@ -35,8 +35,6 @@ public class XpSvc : GrpcXp.GrpcXpBase, IGrpcSvc, IEService
|
||||||
if (guild is null)
|
if (guild is null)
|
||||||
throw new RpcException(new Status(StatusCode.NotFound, "Guild not found"));
|
throw new RpcException(new Status(StatusCode.NotFound, "Guild not found"));
|
||||||
|
|
||||||
var isServerExcluded = false;
|
|
||||||
|
|
||||||
var reply = new GetXpSettingsReply();
|
var reply = new GetXpSettingsReply();
|
||||||
|
|
||||||
var settings = await _xp.GetFullXpSettingsFor(request.GuildId);
|
var settings = await _xp.GetFullXpSettingsFor(request.GuildId);
|
||||||
|
|
Loading…
Add table
Reference in a new issue