Skip to content

Commit

Permalink
update quota script
Browse files Browse the repository at this point in the history
Minor tweak to update quota script. Makes it easier to run anywhere
  • Loading branch information
Humblemonk committed May 19, 2024
1 parent 7993bf7 commit 5ee161f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/dice_maiden_quota.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

require 'dotenv'

Dotenv.load('../.env')
cwd = File.expand_path(File.join(File.dirname(__FILE__), %w[../]))
Dotenv.load("#{cwd}/.env")
token = ENV['TOKEN']
exec("curl -s -H \"Authorization: Bot #{token}\" https://discordapp.com/api/v6/gateway/bot | jq")

0 comments on commit 5ee161f

Please sign in to comment.