File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 18
18
import sys
19
19
import os
20
20
from typing import Optional , Sequence
21
+ from random import choice as random
21
22
22
23
from requests .exceptions import ConnectionError
23
24
34
35
THEMES_HINT ,
35
36
)
36
37
from .sdk import PasteMe
38
+ from .shapes import CHARACTERS
37
39
38
40
parser = argparse .ArgumentParser (
39
41
description = f'A CLI pastebin tool interacting with PasteMe ({ PASTEME_SERVICE_URL } ) RESTful APIs.' ,
@@ -132,7 +134,7 @@ def main(args: Optional[Sequence[str]] = None) -> None:
132
134
theme = args .theme ,
133
135
expires_in = expiry_days [args .expiry_time ],
134
136
)
135
- print (f'PASTE --> { resp .url } ' )
137
+ print (random ( CHARACTERS ). format ( resp .url ) )
136
138
sys .exit ()
137
139
except ConnectionError :
138
140
sys .exit (CONNECTION_ISSUE_HINT )
Original file line number Diff line number Diff line change
1
+ from xml .dom .pulldom import CHARACTERS
2
+
3
+
4
+ CHARACTERS = [
5
+ '¯\_(ツ)_/¯ -> {0}' ,
6
+ '( ͡° ͜ʖ ͡°) -> {0}' ,
7
+ 'ಠ_ಠ -> {0}' ,
8
+ '(ᵔᴥᵔ) -> {0}' ,
9
+ 'ʕ •ᴥ•ʔ -> {0}' ,
10
+ '( ͡ᵔ ͜ʖ ͡ᵔ ) -> {0}' ,
11
+ '(。◕‿◕。) -> {0}' ,
12
+ '(¬_¬) -> {0}' ,
13
+ ]
You can’t perform that action at this time.
0 commit comments