MCPcopy
hub / github.com/PokemonGoF/PokemonGo-Bot / start

Method start

pokemongo_bot/__init__.py:161–175  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

159 saved_info.close()
160
161 def start(self):
162 self._setup_event_system()
163 self.sleep_schedule = SleepSchedule(self, self.config.sleep_schedule) if self.config.sleep_schedule else None
164 if self.sleep_schedule:
165 self.sleep_schedule.work()
166
167 self._setup_api()
168 self._load_recent_forts()
169 init_inventory(self)
170 self.display_player_info()
171 self._print_character_info()
172 if self.config.pokemon_bag_show_at_start and self.config.pokemon_bag_pokemon_info:
173 self._print_list_pokemon()
174
175 random.seed()
176
177 def _setup_event_system(self):
178 handlers = []

Callers 8

start_botFunction · 0.45
__init__Method · 0.45
_setup_event_systemMethod · 0.45
heartbeatMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
start_listening_asyncMethod · 0.45

Calls 9

_setup_event_systemMethod · 0.95
_setup_apiMethod · 0.95
_load_recent_fortsMethod · 0.95
display_player_infoMethod · 0.95
_print_character_infoMethod · 0.95
_print_list_pokemonMethod · 0.95
SleepScheduleClass · 0.85
init_inventoryFunction · 0.85
workMethod · 0.45

Tested by 3

setUpMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36