code: func (mod *mastodonBee) Run(eventChan chan bees.Event) {
  	// Create the new api client
  	c := mastodon.NewClient(&mastodon.Config{
  		Server:       mod.server,
  		ClientID:     mod.clientID,
  		ClientSecret: mod.clientSecret,
  	})
  	// authorize it
  	err := c.Authenticate(context.Background(), mod.email, mod.password)
  	if err != nil {
  		mod.LogErrorf("Authorization failed, make sure the mastodon credentials are correct: %s", err)
  		return
  	}
  	// try to get user account
  	acc, err := c.GetAccountCurrentUser(context.Background())
  	if err != nil {
  		mod.LogErrorf("Failed to get current user account: %v", err)
  	}
  	mod.Logf("Successfully logged in: %s", acc.URL)
  
  	// set client
  	mod.client = c
  
  	// set eventchan
  	mod.evchan = eventChan
  
  	select {
  	case <-mod.SigChan:
  		return
  	}
  }
docs: // Run executes the Bee's event loop.