From 62a2befb9dfa259c59687df434e6f62b10dd8bd5 Mon Sep 17 00:00:00 2001 From: Astoria Floyd Date: Thu, 25 Nov 2021 14:15:53 -0600 Subject: [PATCH] Acme utilities. --- Emery.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Emery.rb b/Emery.rb index a4e0c03..fda7cb8 100755 --- a/Emery.rb +++ b/Emery.rb @@ -1,10 +1,15 @@ #!/usr/bin/env ruby - +# ./Emery.rb +# pkill Emery require 'discordrb' require 'tmpdir' +puts "---\nEmery PID is #{Process.pid}\nTo kill Emery simply {kill #{Process.pid}}\n---" + + def emery_loadModules() $commands = {} + puts '---' # Yes this gets redefined. Why? Because I like having all my variables in one place but it also needs to be cleared again File.foreach("modules/modules.txt", chop: true) { |line| # For every line in the file, do below @@ -21,6 +26,7 @@ def emery_loadModules() end end } + puts '---' end token = File.read("token.txt")