Push 2
Update Gemfile with the rest of depends Write basic skeleton for the runner write default configs
This commit is contained in:
parent
48a2509a2b
commit
87bb64ec1c
3
.rubocop.yml
Normal file
3
.rubocop.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
AllCops:
|
||||||
|
TargetRubyVersion: 3.2
|
||||||
|
NewCops: enable
|
12
Gemfile
12
Gemfile
|
@ -1,13 +1,13 @@
|
||||||
# frozen_string_literal: true
|
# 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'
|
||||||
|
|
|
@ -11,6 +11,7 @@ GEM
|
||||||
discordrb-webhooks (3.5.0)
|
discordrb-webhooks (3.5.0)
|
||||||
rest-client (>= 2.0.0)
|
rest-client (>= 2.0.0)
|
||||||
domain_name (0.6.20240107)
|
domain_name (0.6.20240107)
|
||||||
|
dotenv (2.8.1)
|
||||||
event_emitter (0.2.6)
|
event_emitter (0.2.6)
|
||||||
ffi (1.16.3)
|
ffi (1.16.3)
|
||||||
http-accept (1.7.0)
|
http-accept (1.7.0)
|
||||||
|
@ -51,6 +52,7 @@ PLATFORMS
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
discordrb (~> 3.5)
|
discordrb (~> 3.5)
|
||||||
|
dotenv (~> 2.8)
|
||||||
httpparty (~> 0.2.0)
|
httpparty (~> 0.2.0)
|
||||||
sequel (~> 5.77)
|
sequel (~> 5.77)
|
||||||
sqlite3 (~> 1.7)
|
sqlite3 (~> 1.7)
|
||||||
|
|
|
@ -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
|
|
@ -0,0 +1,2 @@
|
||||||
|
virus_total: YOUR_VIRUSTOTAL_API_KEY
|
||||||
|
opswat: YOUR_OPSWAT_API_KEY
|
|
@ -0,0 +1 @@
|
||||||
|
token: YOUR_DISCORD_BOT_TOKEN
|
Loading…
Reference in New Issue
Block a user