mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 21:08:07 +01:00
parent
e007c7a99b
commit
6689e572f3
1 changed files with 6 additions and 0 deletions
|
@ -66,6 +66,12 @@ module Mastodon
|
|||
say("Imported #{imported}, skipped #{skipped}, failed to import #{failed}", color(imported, skipped, failed))
|
||||
end
|
||||
|
||||
desc 'purge', 'Remove all custom emoji'
|
||||
def purge
|
||||
CustomEmoji.in_batches.destroy_all
|
||||
say('OK', :green)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def color(green, _yellow, red)
|
||||
|
|
Loading…
Reference in a new issue