Skip to content

Commit b7ae22f

Browse files
chore: remove pastes and telegraph plugins
These plugins stopped working due to upstream service changes: - nekobin.com (pastes) is no longer working, and I'm not interested in sending user's data to other 3rd-party services. - telegra.ph media upload (telegraph) is no longer supported. Also removed their localized strings from all locale files.
1 parent 27fd561 commit b7ae22f

20 files changed

Lines changed: 0 additions & 112 deletions

eduu/plugins/pastes.py

Lines changed: 0 additions & 37 deletions
This file was deleted.

eduu/plugins/telegraph.py

Lines changed: 0 additions & 28 deletions
This file was deleted.

locales/ar-SA.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"cmd_note_description": "إنشاء ملاحظة لهذه المحادثة.",
4949
"cmd_notes_description": "إظهار الملاحظات المحفوظة لهذه الدردشة.",
5050
"cmd_parsebutton_description": "تساعدك على تحليل الزر.",
51-
"cmd_paste_description": "لصق النص / المستند الذي تم الرد عليه في nekobin.com.",
5251
"cmd_pin_description": "تثبيت الرسالة التي تم الرد عليها في المحادثة. <code>loud</code> يمكن استخدامه لتمكين الإشعار.",
5352
"cmd_ping_description": "يظهر تأخير الروبوت في إرسال الرسالة.",
5453
"cmd_print_description": "التقاط لقطة شاشة للموقع المحدد.",
@@ -171,7 +170,6 @@
171170
"notes_no_note_with_name": "لا يوجد ملاحظة باسم <b> {trigger} </b> .",
172171
"notes_remove_success": "تمت إزالة <b>{trigger}</b> من الملاحظات.",
173172
"parsebtn_err": "يجب عليك تحديد عنوان URL ونص الزر، على سبيل المثال: <code> /parsebutton https://google.com text </code> .",
174-
"pastes_reply_to_document_or_text": "يرجى الرد على النص أو المستند للصق محتواه.",
175173
"print_taking_screenshot": "أخذ لقطة شاشة…",
176174
"print_usage": "<b> الاستخدام: </b> <code> /print https://example.com </code> — التقط لقطة شاشة لموقع الويب المحدد.",
177175
"purge_in_progress": "جاري مسح الرسائل…",
@@ -211,7 +209,6 @@
211209
"sudos_restarting": "إعادة التشغيل…",
212210
"sudos_speedtest": "<b>اختبار السرعة</b>\n\n<b>🌐 استضافة:</b> <code>{host}</code>\n\n<b>🏓 بينغ:</b> <code>{ping} ms</code>\n<b>⬇️ التحميل:</b> <code>{download} Mbps</code>\n<b>⬆️ الرفع:</b> <code>{upload} Mbps</code>",
213211
"tban_success": "{user} تم حظر حظره مؤقتا من قبل {admin} لـ <b>{time}</b>.",
214-
"telegraph_err_no_reply": "الرجاء الرد على صورة أو فيديو.",
215212
"tmute_success": "تم كتم صوت {user} مؤقتًا بواسطة {admin} لمدة <b> {time} </b> .",
216213
"token_bot_token_info": "<b>الاسم</b>: <code>{botname}</code>\n<b>اسم المستخدم</b>: <code>{botusername}</code>\n<b>المعرف</b>: <code>{botid}</code>",
217214
"token_bot_token_invalid": "التوكن غير صحيح.",

locales/ckb-IR.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"cmd_mark_description": "بە سینتاکسی MD نووسینە پێدراوەکە دەرازێنێتەوە.",
3636
"cmd_mute_description": "بەکارهێنەر بێدەنگدەکات.",
3737
"cmd_note_description": "تێبینییەک لەم گروپە زیادبکە.",
38-
"cmd_paste_description": "نووسین/فایلە وەڵامدراوەکە بەرزبکەوە بۆ nekobin.com.",
3938
"cmd_pin_description": "پەیامە وەڵامدراوەکە هەڵدەواسێت. دەتوانیت <code>loud</code> بەکاربێنیت بۆ ناردنی ئاگاردارکردنەوە.",
4039
"cmd_private_not_allowed": "ئەم فەرمانە لە تایبەت بەکارنایەت. ئەگەر هاوکاریت دەوێت، فەرمانی <code>/help</code> بەکاربێنە.",
4140
"cmd_purge_description": "پەیامەکانی تا پەیامە وەڵامدراوەکە خاوێندەکاتەوە.",
@@ -120,7 +119,6 @@
120119
"sudos_forbidden_command": "فەرمانی قەدەغەکراو.",
121120
"sudos_restarting": "دەستپێدەکاتەوە…",
122121
"sudos_speedtest": "<b>تاقیکردنەوەی خێرایی</b>\n\n<b>🌐 دابینکەر:</b> <code>{host}</code>\n\n<b>🏓 پینگ:</b> <code>{ping} مچ</code>\n<b>⬇️ داگرتن:</b> <code>{download} مێگابایت/چرکە</code>\n<b>⬆️ بەرزکردنەوە:</b> <code>{upload} مێگابایت/چرکە</code>",
123-
"telegraph_err_no_reply": "تکایە وەڵامی وێنە یان ڤیدیۆیەک بدەوە.",
124122
"token_bot_token_invalid": "ئەم تۆکنە دروست نییە.",
125123
"tr_translating": "وەردەگێڕرێت…",
126124
"tr_translation": "<b>زمان:</b> {source_lang} بۆ {target_lang}\n<b>وەرگێڕان:</b> <code>{translation}</code>",

locales/de-DE.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
"cmd_mute_description": "Stummt einen Nutzer im Chat.",
3939
"cmd_note_description": "Eine Notiz für diesen Chat erstellen.",
4040
"cmd_parsebutton_description": "Hilfe beim Parsen des Buttons.",
41-
"cmd_paste_description": "Den beantworteten Text oder das beantwortete Dokument auf nekobin.com einfügen.",
4241
"cmd_pin_description": "Pinnt die geantwortete Nachricht im Chat an. <code>loud</code> kann verwendet werden, um die Benachrichtigung zu aktivieren.",
4342
"cmd_private_not_allowed": "Dieser Befehl kann nicht in einem privaten Chat verwendet werden. Wenn Sie Hilfe benötigen, benutzen Sie bitte den <code>/help</code> Befehl.",
4443
"cmd_purge_description": "Löscht den Verlauf bis zur geantworteten Nachricht.",
@@ -135,7 +134,6 @@
135134
"sudos_forbidden_command": "Unerlaubter Befehl.",
136135
"sudos_restarting": "Neustarten…",
137136
"sudos_speedtest": "<b>Geschwindigkeitsprüfung</b>\n\n<b>🌐 Gastgeber:</b> <code>{host}</code>\n\n<b>🏓 Ping:</b> <code>{ping} ms</code>\n<b>⬇️ Herunterladen:</b> <code>{download}. Mbps</code>\n<b>⬆️ Hochladen:</b> <code>{upload} Mbps</code>",
138-
"telegraph_err_no_reply": "Bitte antworten Sie auf ein Foto oder Video.",
139137
"token_bot_token_invalid": "Ungültiges Bot-Token.",
140138
"tr_inline_send": "Übersetzen von {source_lang} nach {target_lang}",
141139
"tr_translating": "Übersetzen…",

locales/en-GB.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"cmd_note_description": "Creates a note for this chat.",
4949
"cmd_notes_description": "Shows saved notes for this chat.",
5050
"cmd_parsebutton_description": "Helps you to parse a button.",
51-
"cmd_paste_description": "Pastes the replied text/document to nekobin.com.",
5251
"cmd_pin_description": "Pins the replied message in chat. <code>loud</code> can be used to enable notification.",
5352
"cmd_ping_description": "Shows the bot delay to send a message.",
5453
"cmd_print_description": "Takes a screenshot of the specified website.",
@@ -171,7 +170,6 @@
171170
"notes_no_note_with_name": "There is no note with the name <b>{trigger}</b>.",
172171
"notes_remove_success": "Removed <b>{trigger}</b> from notes.",
173172
"parsebtn_err": "You must specify a URL and the text of the button, e.g.: <code>/parsebutton https://google.com text</code>.",
174-
"pastes_reply_to_document_or_text": "Please reply to a text or document to paste its content.",
175173
"print_taking_screenshot": "Taking screenshot…",
176174
"print_usage": "<b>Usage:</b> <code>/print https://example.com</code> — Take a screenshot of the specified website.",
177175
"purge_in_progress": "Purging messages…",
@@ -211,7 +209,6 @@
211209
"sudos_restarting": "Restarting…",
212210
"sudos_speedtest": "<b>Speedtest</b>\n\n<b>🌐 Host:</b> <code>{host}</code>\n\n<b>🏓 Ping:</b> <code>{ping} ms</code>\n<b>⬇️ Download:</b> <code>{download} Mbps</code>\n<b>⬆️ Upload:</b> <code>{upload} Mbps</code>",
213211
"tban_success": "{user} has been temporarily banned by {admin} for <b>{time}</b>.",
214-
"telegraph_err_no_reply": "Please reply to a photo or video.",
215212
"tmute_success": "{user} has been temporarily muted by {admin} for <b>{time}</b>.",
216213
"token_bot_token_info": "<b>Name</b>: <code>{botname}</code>\n<b>Username</b>: <code>{botusername}</code>\n<b>ID</b>: <code>{botid}</code>",
217214
"token_bot_token_invalid": "Invalid bot token.",

locales/en-US.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"cmd_note_description": "Creates a note for this chat.",
4949
"cmd_notes_description": "Shows saved notes for this chat.",
5050
"cmd_parsebutton_description": "Helps you to parse a button.",
51-
"cmd_paste_description": "Pastes the replied text/document to nekobin.com.",
5251
"cmd_pin_description": "Pins the replied message in chat. <code>loud</code> can be used to enable notification.",
5352
"cmd_ping_description": "Shows the bot delay to send a message.",
5453
"cmd_print_description": "Takes a screenshot of the specified website.",
@@ -171,7 +170,6 @@
171170
"notes_no_note_with_name": "There is no note with the name <b>{trigger}</b>.",
172171
"notes_remove_success": "Removed <b>{trigger}</b> from notes.",
173172
"parsebtn_err": "You must specify a URL and the text of the button, e.g.: <code>/parsebutton https://google.com text</code>.",
174-
"pastes_reply_to_document_or_text": "Please reply to a text or document to paste its content.",
175173
"print_taking_screenshot": "Taking screenshot…",
176174
"print_usage": "<b>Usage:</b> <code>/print https://example.com</code> — Take a screenshot of the specified website.",
177175
"purge_in_progress": "Purging messages…",
@@ -211,7 +209,6 @@
211209
"sudos_restarting": "Restarting…",
212210
"sudos_speedtest": "<b>Speedtest</b>\n\n<b>🌐 Host:</b> <code>{host}</code>\n\n<b>🏓 Ping:</b> <code>{ping} ms</code>\n<b>⬇️ Download:</b> <code>{download} Mbps</code>\n<b>⬆️ Upload:</b> <code>{upload} Mbps</code>",
213211
"tban_success": "{user} has been temporarily banned by {admin} for <b>{time}</b>.",
214-
"telegraph_err_no_reply": "Please reply to a photo or video.",
215212
"tmute_success": "{user} has been temporarily muted by {admin} for <b>{time}</b>.",
216213
"token_bot_token_info": "<b>Name</b>: <code>{botname}</code>\n<b>Username</b>: <code>{botusername}</code>\n<b>ID</b>: <code>{botid}</code>",
217214
"token_bot_token_invalid": "Invalid bot token.",

locales/eo-XX.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"cmd_note_description": "Kreanta noton por la nuna konversacio.",
4949
"cmd_notes_description": "Montras konservitajn notojn por ĉi tiu babilejo.",
5050
"cmd_parsebutton_description": "Helpu vin analizi butonon.",
51-
"cmd_paste_description": "Almetas la respondita tekstan/dokumenton al nekobin.Com.",
5251
"cmd_pin_description": "Alfiksas la responditan mesaĝon en babilejo. <code>loud</code> povas esti uzata por ebligi sciigon.",
5352
"cmd_ping_description": "Montras la bot prokrasto sendi mesaĝon.",
5453
"cmd_print_description": "Prenas ekranfoton de la specifa retejo.",
@@ -171,7 +170,6 @@
171170
"notes_no_note_with_name": "Estas neniu noto kun la nomo <b>{trigger}</b>.",
172171
"notes_remove_success": "Forigita <b>{trigger}</b> de notoj.",
173172
"parsebtn_err": "Vi devas specifi URL kaj la tekston de la butono, ekz.: <code>/parsebutton https://google.com text</code>.",
174-
"pastes_reply_to_document_or_text": "Bonvolu respondi al teksto aŭ dokumento almeti ties kontentan.",
175173
"print_taking_screenshot": "Prenanta ekranfoton…",
176174
"print_usage": "<b>Uzado:</b> <code>/print https://ekzemplo.Com</code> — Prenas ekranfoton de la specifa retejo.",
177175
"purge_in_progress": "Foriganta mesaĝojn…",
@@ -211,7 +209,6 @@
211209
"sudos_restarting": "Rekomencanta…",
212210
"sudos_speedtest": "<b>Speedtest</b>\n\n<b>🌐 Gastiganto:</b> <code>{host}</code>\n\n<b>🏓 Ping:</b> <code>{ping} ms</code>\n<b>⬇️ Deŝuto:</b> <code>{download} Mbps</code>\n<b>⬆️ Alŝuto:</b> <code>{upload} Mbps</code>",
213211
"tban_success": "{user} estis intertempe malpermesita de {admin} por <b>{time}</b>.",
214-
"telegraph_err_no_reply": "Bonvolu respondi al foto aŭ video.",
215212
"tmute_success": "{user} estis intertempe silentigita de {admin} por <b>{time}</b>.",
216213
"token_bot_token_info": "<b>Nomo</b>: <code>{botname}</code>\n<b>Salutnomo</b>: <code>{botusername}</code>\n<b>ID</b>: <code>{botid}</code>",
217214
"token_bot_token_invalid": "Nula bot token.",

locales/es-ES.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"cmd_note_description": "Crea una nota para este chat.",
4949
"cmd_notes_description": "Muestra las notas guardadas para este chat.",
5050
"cmd_parsebutton_description": "Ayuda a analizar el botón.",
51-
"cmd_paste_description": "Pega el texto/documento contestado en nekobin.com.",
5251
"cmd_pin_description": "Fija el mensaje contestado en el chat. <code>loud</code> puede utilizarse para activar la notificación.",
5352
"cmd_ping_description": "Muestra el retraso del bot para enviar un mensaje.",
5453
"cmd_print_description": "Realiza una captura de pantalla del sitio web especificado.",
@@ -171,7 +170,6 @@
171170
"notes_no_note_with_name": "No hay ninguna nota con el nombre <b>{trigger}</b> .",
172171
"notes_remove_success": "Eliminado <b>{trigger}</b> de las notas.",
173172
"parsebtn_err": "Debe especificar una URL y el texto del botón, por ejemplo <code>/parsebutton https://google.com texto</code>.",
174-
"pastes_reply_to_document_or_text": "Responda a un texto o documento para pegar su contenido.",
175173
"print_taking_screenshot": "Tomando captura de pantalla…",
176174
"print_usage": "<b>Uso:</b> <code>/print https://example.com</code> - Toma una captura de pantalla del sitio web especificado.",
177175
"purge_in_progress": "Purgando mensajes…",
@@ -211,7 +209,6 @@
211209
"sudos_restarting": "Reiniciando…",
212210
"sudos_speedtest": "<b>Velocidad</b>\n\n<b>🌐 Host:</b> <code>{host}</code>\n\n<b>🏓 Ping:</b> <code>{ping} ms</code>\n<b>⬇️ Descarga:</b> <code>{download} Mbps</code>\n<b>⬆️ Subir:</b> <code>{upload} Mbps</code>",
213211
"tban_success": "{user} ha sido temporalmente baneado por {admin} durante <b>{time}</b>.",
214-
"telegraph_err_no_reply": "Por favor, responda a una foto o vídeo.",
215212
"tmute_success": "{user} ha sido temporalmente silenciado por {admin} durante <b>{time}</b>.",
216213
"token_bot_token_info": "<b>Nombre</b>: <code>{botname}</code>\n<b>Nombre de usuario</b>: <code>{botusername}</code>\n<b> ID</b>: <code>{botid}</code>",
217214
"token_bot_token_invalid": "Bot token inválido.",

locales/he-IL.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
"cmd_mute_description": "משתיק את המשתמש.",
3939
"cmd_note_description": "הוסף פתק לצ'אט.",
4040
"cmd_parsebutton_description": "עוזר לך לעצב כפתור.",
41-
"cmd_paste_description": "שולח את הטקסט או המסמך בהשב על ההודעה ל nekobin.com.",
4241
"cmd_pin_description": "נועץ את ההודעה בהשב על ההודעה אם מוסיפים אחרי הפקודה. <code>loud</code> זה נועץ ומתריע למשתמשים.",
4342
"cmd_private_not_allowed": "הפקודה הזאת לא נתמכת בצ'אט פרטי לעזרה אפשר להשתמש בפקודה <code>/help</code>.",
4443
"cmd_purge_description": "מוחק את ההודעות אחרי ההודעה שבחרתם בהשב על ההודעה.",
@@ -135,7 +134,6 @@
135134
"sudos_forbidden_command": "פקודה אסורה.",
136135
"sudos_restarting": "מפעיל מחדש…",
137136
"sudos_speedtest": "<b>בדיקת מהירות</b>\n\n<b>🌐 מארח:</b> <code>{host}</code>\n\n<b>🏓 פינג:</b> <code>{ping} ms</code>\n<b>⬇️ הורדה:</b> <code>{download} Mbps</code>\n<b>⬆️ העלאה:</b> <code>{upload} Mbps</code>",
138-
"telegraph_err_no_reply": "בבקשה תשיב לתמונה או לוידאו",
139137
"token_bot_token_invalid": "טוקן לא חוקי.",
140138
"tr_inline_send": "תרגם מ {source_lang} ל {target_lang}",
141139
"tr_translating": "מתרגם…",

0 commit comments

Comments
 (0)