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