fix build
This commit is contained in:
parent
4549b1f4e4
commit
ae8a63eeac
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ public partial class Utility
|
||||||
[BotPerm(GuildPerm.ManageChannels)]
|
[BotPerm(GuildPerm.ManageChannels)]
|
||||||
public async Task LiveChAdd(IChannel channel, [Leftover] string template)
|
public async Task LiveChAdd(IChannel channel, [Leftover] string template)
|
||||||
{
|
{
|
||||||
if (!await svc.AddLiveChannelAsync(ctx.Guild.Id, channel, template))
|
if (!await svc.AddLiveChannelAsync(ctx.Guild.Id, channel.Id, template))
|
||||||
{
|
{
|
||||||
await Response()
|
await Response()
|
||||||
.Error(strs.livechannel_limit(LiveChannelService.MAX_LIVECHANNELS))
|
.Error(strs.livechannel_limit(LiveChannelService.MAX_LIVECHANNELS))
|
||||||
|
|
Loading…
Add table
Reference in a new issue