-
Notifications
You must be signed in to change notification settings - Fork 0
/
Configuration.cs
41 lines (39 loc) · 1.42 KB
/
Configuration.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using Rocket.API;
using Rocket.Core.Assets;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
using Rocket.Unturned.Items;
using SDG.Unturned;
namespace ReportDiscord
{
public class Configuration : IRocketPluginConfiguration
{
public string WebhookLink;
public string WebhookName;
public string WebhookAvatar;
public string WebhookMessage;
public string WebhookThumbnail;
public string WebhookTitle;
public string WebhookColor;
public string WebhookFooter;
public string WebhookFooterIcon;
public string ImgBBKey;
public void LoadDefaults()
{
WebhookLink = "https://discord.com/api/webhooks/xxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
WebhookAvatar = "https://i.imgur.com/7tjD5qr.png";
WebhookMessage = "Report has been submitted <@&RoleId>. Spy of reported user has been attached.";
WebhookName = "Report Webhook";
WebhookThumbnail = "https://i.imgur.com/7tjD5qr.png";
WebhookTitle = "Report";
WebhookColor = "#FF0000";
WebhookFooter = "Report Plugin, developed by XXFOGS";
WebhookFooterIcon = "https://i.imgur.com/7tjD5qr.png";
ImgBBKey = "GET YOUR API KEY HERE https://imgbb.com";
}
}
}