Update Gemfile with the rest of depends
Write basic skeleton for the runner
write default configs
This commit is contained in:
VetheonGames 2024-02-11 10:34:57 -07:00
parent 48a2509a2b
commit 87bb64ec1c
6 changed files with 25 additions and 6 deletions

3
.rubocop.yml Normal file
View File

@ -0,0 +1,3 @@
AllCops:
TargetRubyVersion: 3.2
NewCops: enable

12
Gemfile
View File

@ -1,13 +1,13 @@
# frozen_string_literal: true
source "https://rubygems.org"
source 'https://rubygems.org'
# gem "rails"
gem 'discordrb', '~> 3.5'
gem "discordrb", "~> 3.5"
gem 'sequel', '~> 5.77'
gem "sequel", "~> 5.77"
gem 'sqlite3', '~> 1.7'
gem "sqlite3", "~> 1.7"
gem 'httpparty', '~> 0.2.0'
gem "httpparty", "~> 0.2.0"
gem 'dotenv', '~> 2.8'

View File

@ -11,6 +11,7 @@ GEM
discordrb-webhooks (3.5.0)
rest-client (>= 2.0.0)
domain_name (0.6.20240107)
dotenv (2.8.1)
event_emitter (0.2.6)
ffi (1.16.3)
http-accept (1.7.0)
@ -51,6 +52,7 @@ PLATFORMS
DEPENDENCIES
discordrb (~> 3.5)
dotenv (~> 2.8)
httpparty (~> 0.2.0)
sequel (~> 5.77)
sqlite3 (~> 1.7)

View File

@ -0,0 +1,11 @@
# frozen_string_literal: true
# bin/runner.rb
require_relative '../lib/bot'
# Load environment variables if using dotenv
require 'dotenv'
Dotenv.load
# Start the bot
Bot.new.run

View File

@ -0,0 +1,2 @@
virus_total: YOUR_VIRUSTOTAL_API_KEY
opswat: YOUR_OPSWAT_API_KEY

View File

@ -0,0 +1 @@
token: YOUR_DISCORD_BOT_TOKEN