Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
using log4net;

using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace Nullinside.Api.TwitchBot.Controllers;

/// <summary>
/// testing
/// </summary>
[AllowAnonymous]
[ApiController]
[Route("[controller]")]
public class TwitchWebHookController : ControllerBase {
/// <summary>
/// The logger.
/// </summary>
private readonly ILog _log = LogManager.GetLogger(typeof(TwitchWebHookController));

/// <summary>
/// testing
/// </summary>
/// <param name="stuff"></param>
/// <param name="token"></param>
/// <returns></returns>
[HttpPost]
[Route("chat")]
public IActionResult TwitchChatMessageCallback(string stuff, CancellationToken token) {
_log.Info(stuff);
return Ok(true);
}
}
Loading