|
|
@@ -20,6 +20,9 @@ class ImageApplication < ApplicationForm
|
|
|
end
|
|
|
|
|
|
def self.approve(event)
|
|
|
+ # Save app
|
|
|
+ app = event.message.embeds.first
|
|
|
+
|
|
|
# Update image and find character
|
|
|
image = ImageController.edit_image(app)
|
|
|
character = Character.find(image.char_id)
|
|
|
@@ -44,6 +47,9 @@ class ImageApplication < ApplicationForm
|
|
|
end
|
|
|
|
|
|
def self.deny(event)
|
|
|
+ # Save app
|
|
|
+ app = event.message.embeds.first
|
|
|
+
|
|
|
# Create App Rejection
|
|
|
reply = BotResponse.new(
|
|
|
embed: reject_app_embed(app, :image),
|