Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ZAKI RAIHAN
1606878505_ossd_telegram_notif_bot
Commits
849b43d3
Commit
849b43d3
authored
Oct 11, 2019
by
zakiraihan
Browse files
fixing again
parent
80fc86d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
telebot/sisuratNotif.py
View file @
849b43d3
def
createNotifSisurat
(
data
):
if
(
data
[
'type'
]
==
0
):
return
'''
Pengumuman Sisurat Fasilkom UI,
\n
Judul Surat: %s
Milik akun: %s
Status: Baru Diajukan.
\n
Terima Kasih,
\n
surat.cs.ui.ac.id
'''
%
(
data
[
'judulSurat'
],
data
[
'username'
])
return
'Pengumuman Sisurat Fasilkom UI,
\n
Judul Surat: %s
\n
Milik akun: %s
\n
Status: Baru Diajukan.
\n
Terima Kasih,
\n
surat.cs.ui.ac.id'
%
(
data
[
'judulSurat'
],
data
[
'username'
])
elif
(
data
[
'type'
]
==
1
):
return
'''
Pengumuman Sisurat Fasilkom UI,
\n
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment