| 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 "Add Turkey flag emoji to clipboard" |
| 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 Turkey flag to clipboard", |
| 21 |
interrupt=False, flush=False |
| 22 |
) |