This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Text; | |
| namespace IsEven; | |
| internal class Program | |
| { | |
| private const string PATH = ""; //Your path here | |
| public static void Main(string[] args) { GenerateIf(); } | |
| private static void GenerateIf() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package me.kaguyabot.customitemgenerator; | |
| import org.bukkit.ChatColor; | |
| import org.bukkit.Material; | |
| import org.bukkit.Sound; | |
| import org.bukkit.enchantments.Enchantment; | |
| import org.bukkit.entity.Player; | |
| import org.bukkit.event.EventHandler; | |
| import org.bukkit.event.Listener; | |
| import org.bukkit.event.block.Action; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.IO; | |
| using System.Linq; | |
| namespace FileChallenge | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public async Task InitializeAsync(DiscordSocketClient client) | |
| { | |
| _client = client; | |
| _service = new CommandService(); | |
| _service.AddTypeReader(typeof(List<SocketGuildUser>), new ListSocketGuildUserTR()); | |
| await _service.AddModulesAsync( | |
| Assembly.GetExecutingAssembly(), | |
| _services); | |
| _client.MessageReceived += HandleCommandAsync; | |
| _client.MessageReceived += MessageCache; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public async Task InitializeAsync(DiscordSocketClient client) | |
| { | |
| _client = client; | |
| _service = new CommandService(); | |
| _service.AddTypeReader(typeof(List<SocketGuildUser>), new ListSocketGuildUserTR()); | |
| await _service.AddModulesAsync( | |
| Assembly.GetExecutingAssembly(), | |
| _services); | |
| _client.MessageReceived += HandleCommandAsync; | |
| _client.MessageReceived += MessageCache; |