Merge branch 'master' of ssh://git.chaoticlogic.us:2302/discord-bots/chaosbot
This commit is contained in:
commit
da4cf6417b
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@ obj/
|
|||||||
/ChaosBot/bin/
|
/ChaosBot/bin/
|
||||||
/ChaosBot/obj/
|
/ChaosBot/obj/
|
||||||
.idea/
|
.idea/
|
||||||
|
/ChaosBot/appsettings.json
|
||||||
@ -85,7 +85,8 @@ namespace ChaosBot.Discord.Services
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
await context.Channel.SendMessageAsync($"Sorry, {context.User.Username}... something went wrong -> [{result}]!");
|
_logger.Warn($"{context.User.Username} attempted to access {command.Value.Name} and was denied -> [{result}]");
|
||||||
|
await context.Channel.SendMessageAsync($"Sorry, {context.User.Username}, that command won't work for you.!");
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -4,10 +4,8 @@
|
|||||||
"Version": "1.0"
|
"Version": "1.0"
|
||||||
},
|
},
|
||||||
"Discord": {
|
"Discord": {
|
||||||
"Secret": "TPtJeNzPXPM0vptm3igbh8_G3KEfbPdA",
|
"Token": "NzE3ODM3Njg5Mzk0ODIzMjYy.XtgIew.JWUjvMDSzQT_a36D98CTrtb5lfI",
|
||||||
"ClientID": "717523478890414090",
|
"Prefix": "?"
|
||||||
"Token": "NzE3NTIzNDc4ODkwNDE0MDkw.XtbkDw.RpsISqttv27m2Pknq3c5nEVvXWg",
|
|
||||||
"Prefix": "!"
|
|
||||||
},
|
},
|
||||||
"NLog": {
|
"NLog": {
|
||||||
"extensions": {
|
"extensions": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user