def id_control(state: IdViewState): if state is None: return None reaction_list = state.reaction_list return EmbedControl( [IdView.embed(state)], reaction_list or [emoji_cache.get_by_name(e) for e in IdMenuPanes.emoji_names()])
def id_control(state: IdViewState): if state is None: return None return EmbedControl( [IdView.embed(state)], state.reaction_list or NaDiffMenuPanes.emoji_names() )
async def make_id_embed(self, m: "MonsterModel"): color = await self.get_user_embed_color(self.ctx.bot.get_cog("PadInfo") ) transform_base, true_evo_type_raw, acquire_raw, base_rarity, alt_monsters = \ await IdViewState.query(self.dgcog, m) state = IdViewState("", "TODO", "todo", "", color, m, transform_base, true_evo_type_raw, acquire_raw, base_rarity, alt_monsters, use_evo_scroll=settings.checkEvoID( self.ctx.author.id)) e = IdView.embed(state) return e.to_embed()
def id_control(state: IdViewState, reaction_list): return EmbedControl( [IdView.embed(state)], reaction_list )
def id_control(state: IdViewState): return EmbedControl([IdView.embed(state)], LeaderSkillMenuPanes.emoji_names())
def id_control(state: IdViewState): return EmbedWrapper(IdView.embed(state), LeaderSkillMenuPanes.emoji_names())
def id_control(state: IdViewState): return EmbedControl( [IdView.embed(state)], [emoji_cache.get_by_name(e) for e in emoji_button_names] )
def id_control(state: IdViewState): return EmbedControl( [IdView.embed(state)], [emoji_cache.get_by_name(e) for e in LeaderSkillSingleMenuPanes.emoji_names()] )
def id_control(state: IdViewState): if state is None: return None reaction_list = state.reaction_list return EmbedControl([IdView.embed(state)], reaction_list)
def id_control(state: IdViewState, reaction_list): return EmbedWrapper(IdView.embed(state), reaction_list)
def id_control(state: IdViewState): if state is None: return None return EmbedWrapper(IdView.embed(state), state.reaction_list or IdMenuPanes.emoji_names())