Beispiel #1
0
        public async Task <IActionResult> AddBlacklistedWords([FromRoute] string guildId, [FromBody] string[] words)
        {
            await _pluginService
            .AddBlacklistedWordsAsync(
                guildId,
                words,
                await _userManager.GetUserAsync(User)
                );

            return(Ok());
        }