src/fenrirscreenreader/commands/vmenu-profiles/KEY/emoji/people/cool.py
raw| 1 | class command(): |
| 2 | def initialize(self, environment): |
| 3 | self.env = environment |
| 4 | self.emoji = "😎" |
| 5 | |
| 6 | def shutdown(self): |
| 7 | pass |
| 8 | |
| 9 | def setCallback(self, callback): |
| 10 | pass |
| 11 | |
| 12 | def getDescription(self): |
| 13 | return "Cool face emoji" |
| 14 | |
| 15 | def run(self): |
| 16 | self.env["runtime"]["MemoryManager"].add_value_to_first_index( |
| 17 | "clipboardHistory", self.emoji |
| 18 | ) |
| 19 | self.env["runtime"]["OutputManager"].present_text( |
| 20 | "Added cool face to clipboard", |
| 21 | interrupt=False, flush=False |
| 22 | ) |