Skip to content

Commit

Permalink
Moved Discord extension config to carbon/configs
Browse files Browse the repository at this point in the history
  • Loading branch information
raulssorban committed Mar 21, 2023
1 parent 6fd55b9 commit aa3d978
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Carbon.Core/Carbon.Ext.Discord/src/DiscordExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
using API.Contracts;
using API.Events;
using Carbon;
using Carbon.Core;
using Newtonsoft.Json;
using Oxide.Core;
using Oxide.Core.Configuration;
Expand All @@ -35,7 +36,7 @@ public void OnLoaded(EventArgs args)
// {
// GlobalLogger.Exception("An exception was thrown!", exception.ExceptionObject as Exception);
// };
string text = Path.Combine(Interface.Oxide.InstanceDirectory, "discord.config.json");
string text = Path.Combine(Defines.GetConfigsFolder(), "discord.config.json");
bool flag = !File.Exists(text);
if (flag)
{
Expand Down

0 comments on commit aa3d978

Please sign in to comment.