--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Sometimes plugins need to create a new fake message based on an existing message: for example, this is done by alias, linkbot, reaction and remotectl."
- !ruby/struct:SM::Flow::P 
  body: This method simplifies the message creation, including a recursion depth check.
- !ruby/struct:SM::Flow::P 
  body: In the options you can specify the :bot, the :server, the :source, the :target, the message :class and whether or not to :delegate. To initialize these entries from an existing message, you can use :from
- !ruby/struct:SM::Flow::P 
  body: "Additionally, if :from is given, the reply method of created message is overriden to reply to :from instead. The #in_thread attribute for created mesage is also copied from :from"
- !ruby/struct:SM::Flow::P 
  body: If you don't specify a :from you should specify a :source.
full_name: "::Bot::Plugins::BotModule#fake_message"
is_singleton: false
name: fake_message
params: (string, opts={})
visibility: public
