Skip to content

Commit 57674ab

Browse files
authored
setting inline to false for sfu and outline embeds (#669)
1 parent bc44a8b commit 57674ab

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

wall_e/extensions/sfu.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ async def sfu(self, ctx, *course):
160160
footer = 'Written by VJ'
161161

162162
fields = [
163-
[data['title'], data['description']],
164-
["URL", link]
163+
[data['title'], data['description'], False],
164+
["URL", link, False]
165165
]
166166

167167
embed_obj = await embed(
@@ -475,14 +475,14 @@ async def outline(self, ctx, *course):
475475
self.logger.debug(f"[SFU outline()] finished parsing data for: {data['info']['outlinePath']}")
476476
# Make tuple of the data for the fields
477477
fields = [
478-
['Outline', outline],
479-
['Title', title],
480-
['Instructor', instructor],
481-
['Class Times', class_times],
482-
['Exam Times', exam_times],
483-
['Description', description],
484-
['Details', details],
485-
['Prerequisites', prerequisites]
478+
['Outline', outline, False],
479+
['Title', title, False],
480+
['Instructor', instructor, False],
481+
['Class Times', class_times, False],
482+
['Exam Times', exam_times, False],
483+
['Description', description, False],
484+
['Details', details, False],
485+
['Prerequisites', prerequisites, False]
486486
]
487487

488488
if corequisites:

0 commit comments

Comments
 (0)